Home > tough-cookie > Store > getAllCookies
Gets all the cookies in the store.
Signature:
getAllCookies(callback: Callback<Cookie[]>): void;
Parameter |
Type |
Description |
---|---|---|
callback |
A function to call when all the cookies have been retrieved or an error occurs. |
void
- Cookies SHOULD be returned in creation order to preserve sorting via cookieCompare().