cookie
fun <S : Any> Configuration.cookie(
name: String,
sessionType: KClass<S>,
storage: SessionStorage
): Unit
Deprecated: Use reified types instead.
inline fun <reified S : Any> Configuration.cookie(
name: String,
storage: SessionStorage
): Unit
inline fun <S : Any> Configuration.cookie(
name: String,
sessionType: KClass<S>,
storage: SessionStorage,
block: CookieIdSessionBuilder<S>.() -> Unit
): Unit
Deprecated: Use reified types instead.
Configure sessions to get it from cookie using session storage
inline fun <reified S : Any> Configuration.cookie(
name: String,
storage: SessionStorage,
block: CookieIdSessionBuilder<S>.() -> Unit
): Unit
Configures a session using a cookie 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. The cookie configuration can be set inside block using the cookie property exposed by CookieIdSessionBuilder.
Deprecated: Use reified type parameter instead.
inline fun <reified S : Any> Configuration.cookie(
name: String
): Unit
Configure sessions to serialize to/from HTTP cookie
inline fun <reified S : Any> Configuration.cookie(
name: String,
block: CookieSessionBuilder<S>.() -> Unit
): Unit
Configures a session using a cookie with the specified name using it as for the actual session content optionally transformed by specified transforms in block. The cookie configuration can be set inside block using the cookie property exposed by CookieIdSessionBuilder.
inline fun <S : Any> Configuration.cookie(
name: String,
sessionType: KClass<S>,
block: CookieSessionBuilder<S>.() -> Unit
): Unit
Deprecated: Use reified type instead.
Configure sessions to serialize to/from HTTP cookie configuring it by block