Skip to main content
Module

x/oak/mod.ts>Cookies#delete

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Extremely Popular
Go to Latest
method Cookies.prototype.delete
import { Cookies } from "https://deno.land/x/oak@v10.6.0/mod.ts";

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