addCookie (method)
Adds a cookie and the corresponding value to the outgoing request headers.
Syntax
- (void)addCookie:(NSString*)cookieName :(NSString*)cookieValue;
public func addCookie(_ cookieName: String, _ cookieValue: String) throws -> Void
Remarks
This property adds a cookie and the corresponding value to the outgoing request headers. Please refer to the Cookies property for more information on cookies and how they are managed.