Contents

properties

The cookie’s properties.

Declaration

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

Discussion

This dictionary can be used with init(properties:) (or cookieWithProperties: in Objective-C) 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