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://dotland.deno.dev/x/oak@v11.1.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