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

x/xserver/src/session.ts>default#secret

X-Server a Deno server module with middleware
Go to Latest
method default.prototype.secret
import { default } from "https://deno.land/x/xserver@5.3.2/src/session.ts";

The secret to use to encrypt/decrrypt the cookies.

Parameters

secret: string

Returns

Session