Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.193.0/http/cookie_map.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