Vapor Documentation Beta

Structure Session​ID

public struct SessionID: Equatable, Hashable 
%3 SessionID SessionID Hashable Hashable SessionID->Hashable Codable Codable SessionID->Codable 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

public let string: String

Methods

encode(to:​)

public func encode(to encoder: Encoder) throws