Vapor Documentation Beta

Structure Session​Data

public struct SessionData: Codable

Codable session data.

%3 SessionData SessionData Codable Codable SessionData->Codable

Conforms To

Codable

Initializers

init(_:​)

public init(_ data: [String: String] = [:])

Create a new, empty session data.

init(from:​)

public init(from decoder: Decoder) throws

Methods

encode(to:​)

public func encode(to encoder: Encoder) throws