Type Property

sameSitePolicy

A string indicating the same-site policy for the cookie.

Declaration

static let sameSitePolicy: HTTPCookiePropertyKey

See Also

Cookie Property Keys

static let comment: HTTPCookiePropertyKey

An NSString object containing the comment for the cookie.

static let commentURL: HTTPCookiePropertyKey

An NSURL object or NSString object containing the comment URL for the cookie.

static let discard: HTTPCookiePropertyKey

An NSString object stating whether the cookie should be discarded at the end of the session.

static let domain: HTTPCookiePropertyKey

An NSString object containing the domain for the cookie.

static let expires: HTTPCookiePropertyKey

An NSDate object or NSString object specifying the expiration date for the cookie.

static let maximumAge: HTTPCookiePropertyKey

An NSString object containing an integer value stating how long in seconds the cookie should be kept, at most.

static let name: HTTPCookiePropertyKey

An NSString object containing the name of the cookie (required).

static let originURL: HTTPCookiePropertyKey

An NSURL or NSString object containing the URL that set this cookie.

static let path: HTTPCookiePropertyKey

An NSString object containing the path for the cookie.

static let port: HTTPCookiePropertyKey

An NSString object containing comma-separated integer values specifying the ports for the cookie.

static let secure: HTTPCookiePropertyKey

An NSString object indicating that the cookie should be transmitted only over secure channels.

static let value: HTTPCookiePropertyKey

An NSString object containing the value of the cookie.

static let version: HTTPCookiePropertyKey

An NSString object that specifies the version of the cookie.