SessionTracker

interface SessionTracker<S : Any>

SessionTracker provides ability to track and extract session from the call context.

Functions

Link copied to clipboard
abstract suspend fun clear(call: ApplicationCall)

Clear session information

Link copied to clipboard
abstract suspend fun load(call: ApplicationCall, transport: String?): S?

Load session value from transport string for the specified call

Link copied to clipboard
abstract suspend fun store(call: ApplicationCall, value: S): String

Store session value and return respective transport string for the specified call.

Link copied to clipboard
abstract fun validate(value: S)

Validate session information

Inheritors

Link copied to clipboard
Link copied to clipboard