tough-cookie.cookiejar.serialize.md
July 9, 2025 ยท View on GitHub
Home > tough-cookie > CookieJar > serialize
CookieJar.serialize() method
Serialize the CookieJar if the underlying store supports .getAllCookies.
Signature:
serialize(callback: Callback<SerializedCookieJar>): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
callback |
A function to call after the CookieJar has been serialized |
Returns:
void