Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/fsrouter/deps.ts>http.SecureCookieMapSetDeleteOptions

A file system based router for Deno.
Latest
interface http.SecureCookieMapSetDeleteOptions
import { type http } from "https://deno.land/x/fsrouter@3.1.0/deps.ts";
const { SecureCookieMapSetDeleteOptions } = http;

Properties

optional
domain: string

The domain to scope the cookie for.

optional
expires: Date

When the cookie expires.

optional
httpOnly: boolean

A flag that indicates if the cookie is valid over HTTP only.

optional
ignoreInsecure: boolean

Do not error when signing and validating cookies over an insecure connection.

optional
overwrite: boolean

Overwrite an existing value.

optional
path: string

The path the cookie is valid for.

optional
secure: boolean

Override the flag that was set when the instance was created.

optional
sameSite:
| "strict"
| "lax"
| "none"
| boolean

Set the same-site indicator for a cookie.

optional
signed: boolean

Override the default behavior of signing the cookie.