header
fun <S : Any> Configuration.header(
name: String,
sessionType: KClass<S>,
storage: SessionStorage
): Unit
Deprecated: Use reified type instead.
inline fun <reified S : Any> Configuration.header(
name: String,
storage: SessionStorage
): Unit
Configure sessions to get it from HTTP header using session storage
inline fun <reified S : Any> Configuration.header(
name: String,
storage: SessionStorage,
block: HeaderIdSessionBuilder<S>.() -> Unit
): Unit
inline fun <S : Any> Configuration.header(
name: String,
sessionType: KClass<S>,
storage: SessionStorage,
block: HeaderIdSessionBuilder<S>.() -> Unit
): Unit
Deprecated: Use reified types instead.
Configures a session using a header with the specified name using it as a session id. The actual content of the session is stored at server side using the specified storage.
Deprecated: Use reified type instead.
inline fun <reified S : Any> Configuration.header(
name: String
): Unit
Configure sessions to serialize to/from HTTP header
inline fun <reified S : Any> Configuration.header(
name: String,
block: HeaderSessionBuilder<S>.() -> Unit
): Unit
Configures a session using a header with the specified name using it for the actual session content optionally transformed by specified transforms in block.
inline fun <S : Any> Configuration.header(
name: String,
sessionType: KClass<S>,
block: HeaderSessionBuilder<S>.() -> Unit
): Unit
Deprecated: Use reified type instead.
Configures a session using a header with the specified name using it for the actual session content and apply block function to configure serializataion and optional transformations