Go to Latest
method SecureCookieMap.prototype.delete
import { SecureCookieMap } from "https://dotland.deno.dev/std@0.181.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: SecureCookieMapSetDeleteOptions = [UNSUPPORTED]

Returns

Promise<boolean>