HeaderIdSessionBuilder

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

Header session configuration builder

Constructors

<init>

HeaderIdSessionBuilder(type: KClass<S>)

Header session configuration builder

Properties

sessionIdProvider

var sessionIdProvider: () -> String

Current session ID provider function

Inherited Properties

serializer

var serializer: SessionSerializer

Session instance serializer

transformers

Registered session transformers

type

val type: KClass<S>

session instance type

Functions

identity

fun identity(f: () -> String): Unit

Register session ID generation function

Inherited Functions

transform

fun transform(transformer: SessionTransportTransformer): Unit

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