Home > tough-cookie > GetCookiesOptions > expire
Perform expiry-time
checking of cookies and asynchronously remove expired cookies from the store.
Signature:
expire?: boolean | undefined;
- Using
false
returns expired cookies and does not remove them from the store which is potentially useful for replayingSet-Cookie
headers.
Defaults to true
if not provided.