StorageCrypto Documentation

Class Codable​HTTPCookie

public final class CodableHTTPCookie: HTTPCookie, Codable  

A subclass of HTTPCookie conforming to Codable.

%101 CodableHTTPCookie CodableHTTPCookie HTTPCookie HTTPCookie CodableHTTPCookie->HTTPCookie Codable Codable CodableHTTPCookie->Codable

Conforms To

Codable
HTTPCookie

Initializers

init?(properties:​)

override public init?(properties: [HTTPCookiePropertyKey: Any])  

Init.

Parameters

properties [HTTPCookie​Property​Key:​ Any]

A valid Dictionary of Any.

init?(_:​)

public convenience init?(_ cookie: HTTPCookie)  

Init.

Parameters

cookie HTTPCookie

A valid HTTPCookie.

init(from:​)

public convenience init(from decoder: Decoder) throws  

Init.

Parameters

decoder Decoder

A valid Decoder.

Methods

encode(to:​)

public func encode(to encoder: Encoder) throws  

Encode.

Parameters

encoder Encoder

A valid Encoder.