Skip to main content
Module

x/another_cookiejar/cookie_jar.ts>CookieJar#getCookie

https://deno.land/x/another_cookiejar
Go to Latest
method CookieJar.prototype.getCookie
import { CookieJar } from "https://deno.land/x/another_cookiejar@v4.1.4/cookie_jar.ts";

Gets the first cooking matching the defined properties of a given Cookie or CookieOptions. returns undefined if not found or expired. creationDate prop is not checked. Also removes the cookie and returns undefined if cookie is expired.

Returns

Cookie | undefined