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

x/deno_nest/src/interfaces/context.interface.ts>CookiesGetOptions

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
interface CookiesGetOptions
import { type CookiesGetOptions } from "https://deno.land/x/deno_nest@v3.15.1/src/interfaces/context.interface.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.