Instance Property

properties

The cookie’s properties.

Declaration

var properties: [HTTPCookiePropertyKey : Any]? { get }

Discussion

This dictionary can be used with init(properties:) to create an equivalent HTTPCookie object.

See init(properties:) for more information on the constraints imposed on the properties dictionary.

See Also

Accessing Cookie Properties as Key-Value Pairs

struct HTTPCookiePropertyKey

Constants that define the supported keys in a cookie attributes dictionary.