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
import { session } from "https://deno.land/x/xserver@5.3.0/src/mod.ts";

The secret to use to encrypt/decrrypt the cookies.

Parameters

secret: string