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

x/deno_nest/mod.ts>CookiesGetOptions

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
interface CookiesGetOptions
Re-export
import { type CookiesGetOptions } from "https://deno.land/x/deno_nest@v3.15.1/mod.ts";

Properties

optional
signed: boolean

When signed is true, you must provide a secret string signedSecret to be used for signing in Hono or set keys when app is created. Such as:

const app = await NestFactory.create(AppModule, Router, {
  keys: ["nest"],
});
optional
signedSecret: string

A secret key that can be used to verify the integrity of the cookie's value.