Structure
SessionsConfiguration
Configuration options for sessions.
struct SessionsConfiguration
Topics
Initializers
init(cookieName: String, cookieFactory: (SessionID) -> HTTPCookies.Value)Create a newSessionsConfigwith the supplied cookie factory.
Instance Properties
var cookieFactory: (SessionID) -> HTTPCookies.ValueCreates a newHTTPCookieValuefor the supplied valueString.var cookieName: StringName of HTTP cookie, used as a key for the cookie value.
Type Methods
static func `default`() -> SessionsConfigurationSessionsConfigwith basic cookie factory.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype