SessionTrackerById
class SessionTrackerById<S : Any>(val type: KClass<S>, val serializer: SessionSerializer<S>, val storage: SessionStorage, val sessionIdProvider: () -> String) : SessionTracker<S>
SessionTracker that transfers a Session ID generated by a sessionIdProvider in HTTP Headers/Cookies. It uses a storage and a serializer to store/load serialized/deserialized session content of a specific type.
Constructors
Link copied to clipboard
fun <S : Any> SessionTrackerById(type: KClass<S>, serializer: SessionSerializer<S>, storage: SessionStorage, sessionIdProvider: () -> String)