Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/superdeno/test/deps.ts>Oak.Cookies#delete

Super-agent driven library for testing Deno HTTP servers.
Go to Latest
method Oak.Cookies.prototype.delete
import { Oak } from "https://deno.land/x/superdeno@4.8.0/test/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