tough-cookie.cookiejar.serialize_1.md

May 3, 2024 ยท View on GitHub

Home > tough-cookie > CookieJar > serialize

CookieJar.serialize() method

Serialize the CookieJar if the underlying store supports .getAllCookies.

Signature:

serialize(): Promise<SerializedCookieJar>;

Returns:

Promise<SerializedCookieJar>