Methods
(static) parse(cookieString) → {Object}
Parse a cookie string
Parameters:
Name | Type | Description |
---|---|---|
cookieString |
string | A cookie string |
Returns:
Interpreted cookie data as an Object
- Type
- Object
(static) serialize(cookieData) → {string}
Serialize an object to cookie format
Parameters:
Name | Type | Description |
---|---|---|
cookieData |
Object | Object to serialize to cookie string |
Returns:
Cookie string
- Type
- string