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

x/deno_nest/mod.ts>CookiesSetDeleteOptions

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

Properties

optional
domain: string
optional
expires: Date
optional
httpOnly: boolean
optional
ignoreInsecure: boolean

For use in situations where requests are presented to Deno as "insecure" but are otherwise secure and so secure cookies can be treated as secure.

optional
maxAge: number
optional
path: string
optional
secure: boolean
optional
sameSite: "Strict" | "Lax" | "None"