Skip to content

Latest commit

 

History

History
101 lines (47 loc) · 1.13 KB

tough-cookie.memorycookiestore.removecookie_1.md

File metadata and controls

101 lines (47 loc) · 1.13 KB

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, callback: ErrorCallback): 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.

callback

ErrorCallback

A function to call when the cookie has been removed or an error occurs.

**Returns:**

void