Skip to content

Latest commit

 

History

History
57 lines (28 loc) · 936 Bytes

tough-cookie.store.getallcookies_1.md

File metadata and controls

57 lines (28 loc) · 936 Bytes

Home > tough-cookie > Store > getAllCookies

Store.getAllCookies() method

Gets all the cookies in the store.

Signature:

getAllCookies(callback: Callback<Cookie[]>): void;

Parameters

Parameter

Type

Description

callback

Callback<Cookie[]>

A function to call when all the cookies have been retrieved or an error occurs.

**Returns:**

void

Remarks

  • Cookies SHOULD be returned in creation order to preserve sorting via cookieCompare().