Home > tough-cookie > Store > removeCookie
Remove a cookie from the store (see notes on findCookie about the uniqueness constraint).
Signature:
removeCookie(domain: Nullable<string>, path: Nullable<string>, key: Nullable<string>, callback: ErrorCallback): void;|
Parameter |
Type |
Description |
|---|---|---|
|
domain |
Nullable<string> |
The cookie domain to match against. |
|
path |
Nullable<string> |
The cookie path to match against. |
|
key |
Nullable<string> |
The cookie name to match against. |
|
callback |
A function to call when the cookie has been removed or an error occurs. |
Returns:
void