Module

x/another_cookiejar/mod.ts>CookieJar#getCookies

https://deno.land/x/another_cookiejar
Latest
method CookieJar.prototype.getCookies
import { CookieJar } from "https://dotland.deno.dev/x/another_cookiejar@v5.0.7/mod.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.