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 SecureCookieMap.prototype.delete
import { SecureCookieMap } from "https://deno.land/std@0.174.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: SecureCookieMapSetDeleteOptions = [UNSUPPORTED]

Returns

Promise<boolean>