Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 659 Bytes

tough-cookie.getcookiesoptions.expire.md

File metadata and controls

20 lines (11 loc) · 659 Bytes

Home > tough-cookie > GetCookiesOptions > expire

GetCookiesOptions.expire property

Perform expiry-time checking of cookies and asynchronously remove expired cookies from the store.

Signature:

expire?: boolean | undefined;

Remarks

  • Using false returns expired cookies and does not remove them from the store which is potentially useful for replaying Set-Cookie headers.

Defaults to true if not provided.