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

x/cav/cookies.ts

A server framework for Deno
Go to Latest
import * as cav from "https://deno.land/x/cav@0.0.24/cookies.ts";

Variables

Signed cookies are HS256 JWTs with the header omitted to keep the cookies small. To inspect the cookies as regular JWTs, this header needs to be prepended to the cookie value with a period separator. Like this:

Functions

Creates a new CookieJar instance for managing a Request's cookies.

Interfaces

Options for deleting a cookie from a CookieJar.

Interface for reading and updating the cookies for a Request. Supports cookie signing. Most operations are synchronous, with the exception of .setCookies().

Options for setting a cookie in a CookieJar.