Skip to main content
Module

x/another_cookiejar/mod.ts>CookieJar#getCookies

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

returnes cookies that matches the options excluding expired ones, also removes expired cookies before returning.

Parameters

optional
options: CookieOptions | Cookie
  • the options to filter cookies with, and if not provided, returnes all cookies. if no cookie is found with given options, an empty array is returned.