SessionTransportHeader

class SessionTransportHeader : SessionTransport

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

Constructors

<init>

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

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

Properties

name

val name: String

is a header name

transformers

is a list of registered session transformers

Functions

clear

fun clear(call: ApplicationCall): Unit

Clears session information from a specific call.

receive

fun receive(call: ApplicationCall): String?

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

send

fun send(call: ApplicationCall, value: String): Unit

Sets session information represented by value to a call.

toString

fun toString(): String