SessionTrackerById
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
constructor(type: KClass<S>, serializer: SessionSerializer<S>, storage: SessionStorage, sessionIdProvider: (ApplicationCall) -> String)
Properties
Functions
Link copied to clipboard
Clear session information
Link copied to clipboard
Clears a session with the specified sessionId from the storage without needing access to the ApplicationCall.
Link copied to clipboard