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

x/hex/src/service/deps.ts>oak.CookiesSetDeleteOptions

An ecosystem delivering practices, philosophy and portability.
Go to Latest
interface oak.CookiesSetDeleteOptions
import { type oak } from "https://deno.land/x/hex@0.5.15/src/service/deps.ts";
const { CookiesSetDeleteOptions } = oak;

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
overwrite: boolean
optional
path: string
optional
secure: boolean
optional
sameSite:
| "strict"
| "lax"
| "none"
| boolean
optional
signed: boolean