Skip to main content
Module

x/another_cookiejar/cookie_jar.ts>CookieJar#getCookies

https://deno.land/x/another_cookiejar
Latest
method CookieJar.prototype.getCookies
import { CookieJar } from "https://deno.land/x/another_cookiejar@v5.0.4/cookie_jar.ts";

Returns cookies that match 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.