Cookie management for node's request library
MIT License
Cookie management for node's request library
see tests for examples
Holds cookies
Add a cookie to the cookie jar
String|Object data can be a Cookie, json object, or a set-cookie header string
String url
Object options [optional]
Remove a cookie by name for a given domain. If the key then all cookies for the given domain and path (if given) will be removed. Note: when cookies are added without a path specified the default path is "/" in accordance with http://tools.ietf.org/search/rfc6265#section-5.1.4 - so you should use that for the path param when appropriate.
String url
String key
Get cookies that match the given properties
String url
Object options [optional]
Get HTTP Cookie header string
String url
Object options [optional]
Get cookie jar as a JSON object
HTTP Cookie
Get cookie as a cookie header string
Set multiple cookie properties at once
Get cookie as a JSON object