Skip to main content
Module

x/another_cookiejar/mod.ts>CookieJar#removeCookies

https://deno.land/x/another_cookiejar
Go to Latest
method CookieJar.prototype.removeCookies
Re-export
import { CookieJar } from "https://deno.land/x/another_cookiejar@v4.1.4/mod.ts";

Removes all cookies that matches the given option. If options is not given, all cookies will be deleted.

Returns the deleted cookies if found or undefined otherwise.

Parameters

optional
options: CookieOptions | Cookie

Returns

Array<Cookie> | undefined