Instance Property

portList

The cookie’s port list.

Declaration

@property(readonly, copy) NSArray<NSNumber *> *portList;

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

domain

The domain of the cookie.

path

The cookie’s path.