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

x/xserver/src/mod.ts>Session#secret

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

The secret to use to encrypt/decrrypt the cookies.

Parameters

secret: string