Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/s3si/deps.ts>CookieJar#setCookie

Export your battles from SplatNet to https://stat.ink
Go to Latest
method CookieJar.prototype.setCookie
Re-export
import { CookieJar } from "https://deno.land/x/s3si@gui-v0.4.2/deps.ts";

Sets or replaces a cookie inside the jar. Only sets new cookies if cookie is valid and not expired. Validation and expiration checks are not run when replacing a cookie.

Parameters

optional
url: string | Request | URL