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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software