Vapor Documentation Beta

Structure Session​ID

public struct SessionID: Equatable, Hashable
%3 SessionID SessionID Codable Codable SessionID->Codable Hashable Hashable SessionID->Hashable Equatable Equatable SessionID->Equatable

Conforms To

Codable
Equatable
Hashable

Initializers

init(string:​)

public init(string: String)

init(from:​)

public init(from decoder: Decoder) throws

Properties

string

let string: String

Methods

encode(to:​)

public func encode(to encoder: Encoder) throws