Vapor Documentation Beta

Structure Application.​Sessions

public struct Sessions

Member Of

Application

Nested Types

Application.Sessions.Provider

Properties

configuration

var configuration: SessionsConfiguration

middleware

var middleware: SessionsMiddleware

driver

var driver: SessionDriver

memory

var memory: MemorySessions

Methods

use(_:​)

public func use(_ provider: Provider)

use(_:​)

public func use(_ makeDriver: @escaping (Application) -> (SessionDriver))