Skip to content

Latest commit

 

History

History
102 lines (47 loc) · 1.27 KB

File metadata and controls

102 lines (47 loc) · 1.27 KB

Home > tough-cookie > Store > removeCookie

Store.removeCookie() method

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;

Parameters

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

ErrorCallback

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

Returns:

void