SessionTrackerById
class SessionTrackerById<S : Any>(type: KClass<S>, serializer: SessionSerializer<S>, storage: SessionStorage, sessionIdProvider: () -> String) : SessionTracker<S>
Content copied to clipboard
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)
Content copied to clipboard