Contents

domain

An NSString object containing the domain for the cookie.

Declaration

static let domain: HTTPCookiePropertyKey

Discussion

If this cookie attribute is missing, the domain is inferred from the value for NSHTTPCookieOriginURL. If you do not specify a value for NSHTTPCookieOriginURL, you must specify a value for NSHTTPCookieDomain.

See Also

Cookie property keys