Sessions

class Sessions

Sessions reature that provides a mechanism to persist information between requests.

Types

Configuration

class Configuration

Sessions configuration builder

Feature

companion object Feature : 
    ApplicationFeature<ApplicationCallPipeline, Configuration, Sessions>

Feature installation object

Constructors

<init>

Sessions(providers: List<SessionProvider>)

Sessions reature that provides a mechanism to persist information between requests.

Properties

providers

val providers: List<SessionProvider>

list of session providers

Companion Object Properties

key

Unique key that identifies a feature

Companion Object Functions

install

fun install(
    pipeline: ApplicationCallPipeline,
    configure: Configuration.() -> Unit
): Sessions

Feature installation script