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

x/fsrouter/deps.ts>http.SecureCookieMap#delete

A file system based router for Deno.
Go to Latest
method http.SecureCookieMap.prototype.delete
import { http } from "https://deno.land/x/fsrouter@2.11.1/deps.ts";
const { SecureCookieMap } = http;

Set a cookie to be deleted in the response.

This is a convenience function for set(key, null, options?).

Parameters

key: string
optional
options: SecureCookieMapSetDeleteOptions = [UNSUPPORTED]

Returns

Promise<boolean>