Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/another_cookiejar/mod.ts>CookieJar#getCookieString

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

Converts the cookies to a string that can be used in a request.

Parameters

url: string | Request | URL
  • the url to get the cookies for. if provided, will only return cookies that match the domain and path of the url.