Skip to main content
Module

x/cav/cookie.ts>encodeCookie

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

Encodes a signed cookie.

Parameters

opt: { name: string; value: string; exp?: number; keys?: string | string[]; }