Skip to main content
Module

x/oak/cookies.ts>CookiesSetDeleteOptions

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Extremely Popular
Go to Latest
interface CookiesSetDeleteOptions
import { type CookiesSetDeleteOptions } from "https://deno.land/x/oak@v10.6.0/cookies.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
overwrite: boolean
optional
path: string
optional
secure: boolean
optional
sameSite:
| "strict"
| "lax"
| "none"
| boolean
optional
signed: boolean