Set a cookie in the jar by specifying url, name, value and some other optional settings like domain, path, etc.
Parameter | Type | Description |
---|---|---|
url | string | Cookie URL |
name | string | Cookie name |
value | string | Cookie value |
options (optional) | object | Specific cookie settings: domain, path, expires, max_age, secure and http_only. |