tough-cookie.createcookieoptions.expires.md

May 3, 2024 ยท View on GitHub

Home > tough-cookie > CreateCookieOptions > expires

CreateCookieOptions.expires property

The 'Expires' attribute of the cookie (See RFC6265 Section 5.2.1).

Signature:

expires?: Date | 'Infinity' | null;