Home > tough-cookie > MemoryCookieStore > removeCookie
Remove a cookie from the store (see notes on findCookie
about the uniqueness constraint).
Signature:
removeCookie(domain: string, path: string, key: string, callback: ErrorCallback): void;
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. |
callback |
A function to call when the cookie has been removed or an error occurs. |
void