tough-cookie.createcookieoptions.maxage.md

May 3, 2024 ยท View on GitHub

Home > tough-cookie > CreateCookieOptions > maxAge

CreateCookieOptions.maxAge property

The 'Max-Age' attribute of the cookie (See RFC6265 Section 5.2.2).

Signature:

maxAge?: number | 'Infinity' | '-Infinity' | null;