tough-cookie.cookiejar.serializesync.md

May 3, 2024 ยท View on GitHub

Home > tough-cookie > CookieJar > serializeSync

CookieJar.serializeSync() method

Serialize the CookieJar if the underlying store supports .getAllCookies.

Note: Only works if the configured Store is also synchronous.

Signature:

serializeSync(): SerializedCookieJar | undefined;

Returns:

SerializedCookieJar | undefined