SessionTransportHeader

class SessionTransportHeader(name: String, transformers: List<SessionTransportTransformer>) : SessionTransport

SessionTransport that sets or gets the specific header name, applying/un-applying the specified transforms defined by transformers.

Constructors

Link copied to clipboard
fun SessionTransportHeader(name: String, transformers: List<SessionTransportTransformer>)

Functions

Link copied to clipboard
open override fun clear(call: ApplicationCall)

Clears session information from a specific call.

Link copied to clipboard
open override fun receive(call: ApplicationCall): String?

Gets session information from a call and returns a String if success or null if failed.

Link copied to clipboard
open override fun send(call: ApplicationCall, value: String)

Sets session information represented by value to a call.

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val name: String

is a header name

Link copied to clipboard
val transformers: List<SessionTransportTransformer>

is a list of registered session transformers