Skip to main content
Module

x/oak/deps.ts>SecureCookieMap#delete

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Extremely Popular
Go to Latest
method SecureCookieMap.prototype.delete
import { SecureCookieMap } from "https://deno.land/x/oak@v12.5.0/deps.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>