Skip to main content
Module

std/http/mod.ts>CookieMap#delete

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method CookieMap.prototype.delete
import { CookieMap } from "https://deno.land/std@0.197.0/http/mod.ts";

Set a cookie to be deleted in the response.

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

Parameters

key: string
optional
options: CookieMapSetDeleteOptions = [UNSUPPORTED]

Returns

boolean