Home > tough-cookie > MemoryCookieStore > removeCookies
Removes matching cookies from the store. The path
parameter is optional and if missing, means all paths in a domain should be removed.
Signature:
removeCookies(domain: string, path: string, callback: ErrorCallback): void;
Parameter |
Type |
Description |
---|---|---|
domain |
string |
The cookie domain to match against. |
path |
string |
The cookie path to match against. |
callback |
A function to call when the cookies have been removed or an error occurs. |
void