Skip to main content
Module

x/cav/cookie.ts>decodeCookie

A server framework for Deno
Go to Latest
function decodeCookie
import { decodeCookie } from "https://deno.land/x/cav@0.2.0-alpha.7/cookie.ts";

Decodes a signed cookie. If no keys are provided, the fallback keys will be used. If the cookie can't be decoded, an error will be thrown.

Parameters

optional
keys: string | string[]