Skip to content

Latest commit

 

History

History
69 lines (33 loc) · 935 Bytes

tough-cookie.store.removecookies.md

File metadata and controls

69 lines (33 loc) · 935 Bytes

Home > tough-cookie > Store > removeCookies

Store.removeCookies() method

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: Nullable<string>): Promise<void>;

Parameters

Parameter

Type

Description

domain

string

The cookie domain to match against.

path

Nullable<string>

The cookie path to match against.

**Returns:**

Promise<void>