Skip to main content
Go to Latest
method SecureCookieMap.prototype.delete
import { SecureCookieMap } from "https://deno.land/std@0.166.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>