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

x/hex/src/fw/service/deps.ts>oak.Cookies#delete

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
method oak.Cookies.prototype.delete
import { oak } from "https://deno.land/x/hex@0.6.5/src/fw/service/deps.ts";
const { Cookies } = oak;

Set a cookie to be deleted in the response. This is a "shortcut" to .set(name, null, options?).

Parameters

name: string
optional
options: CookiesSetDeleteOptions = [UNSUPPORTED]

Returns

boolean