Module

x/another_cookiejar/mod.ts>CookieJar#getCookieString

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

Returns

string

string of all cookies that match the url, in the from of <cookie-name>=<cookie-value> seperated by ;