Instance Property

portList

The cookie’s port list.

Declaration

var portList: [NSNumber]? { get }

Discussion

The list of ports for the cookie, returned as an array of NSNumber objects containing integers. If the cookie has no port list, the value of this property is nil and the cookie will be sent to any port. Otherwise, the cookie is only sent to ports specified in the port list.

See Also

Getting Cookie Host Properties

var domain: String

The domain of the cookie.

var path: String

The cookie’s path.