HeaderIdSessionBuilder

class HeaderIdSessionBuilder<S : Any> : HeaderSessionBuilder<S>

Header session configuration builder

Constructors

Link copied to clipboard
fun <S : Any> HeaderIdSessionBuilder(type: KClass<S>)

Functions

Link copied to clipboard
fun identity(f: () -> String)

Register session ID generation function

Link copied to clipboard
fun transform(transformer: SessionTransportTransformer)

Register a session transformer. Useful for encryption, signing and so on

Properties

Link copied to clipboard
var serializer: SessionSerializer<S>

Session instance serializer

Link copied to clipboard
var sessionIdProvider: () -> String

Current session ID provider function

Link copied to clipboard
val transformers: List<SessionTransportTransformer>

Registered session transformers

Link copied to clipboard
val type: KClass<S>

session instance type

Link copied to clipboard
val typeInfo: KType