Skip to content

Latest commit

 

History

History
85 lines (40 loc) · 977 Bytes

tough-cookie.memorycookiestore.removecookie.md

File metadata and controls

85 lines (40 loc) · 977 Bytes

Home > tough-cookie > MemoryCookieStore > removeCookie

MemoryCookieStore.removeCookie() method

Remove a cookie from the store (see notes on findCookie about the uniqueness constraint).

Signature:

removeCookie(domain: string, path: string, key: string): Promise<void>;

Parameters

Parameter

Type

Description

domain

string

The cookie domain to match against.

path

string

The cookie path to match against.

key

string

The cookie name to match against.

**Returns:**

Promise<void>