Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/oak_nest/deps.ts>OakCookie#delete

Refer to nestjs to realize some common functions for Deno
Go to Latest
method OakCookie.prototype.delete
import { OakCookie } from "https://deno.land/x/oak_nest@v2.0.1/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>