SessionTransportHeader

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

Constructors

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

Properties

Link copied to clipboard

is a header name

Link copied to clipboard

is a list of registered session transformers

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 a 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 a session information represented by value to a call.

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