tough-cookie.cookie.serializableproperties.md

May 3, 2024 ยท View on GitHub

Home > tough-cookie > Cookie > serializableProperties

Cookie.serializableProperties property

Cookie properties that will be serialized when using Cookie.fromJSON() and Cookie.toJSON().

Signature:

static serializableProperties: readonly ["key", "value", "expires", "maxAge", "domain", "path", "secure", "httpOnly", "extensions", "hostOnly", "pathIsDefault", "creation", "lastAccessed", "sameSite"];