Skip to main content
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.16/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