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

x/superdeno/test/deps.ts>Oak.CookiesSetDeleteOptions

Super-agent driven library for testing Deno HTTP servers.
Go to Latest
interface Oak.CookiesSetDeleteOptions
import { type Oak } from "https://deno.land/x/superdeno@4.8.0/test/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