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

x/sinco/tests/deps.ts>Drash.Response#deleteCookie

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
method Drash.Response.prototype.deleteCookie
import { Drash } from "https://deno.land/x/sinco@v4.1.0/tests/deps.ts";
const { Response } = Drash;

Delete a cookie for the response.

Parameters

name: string
  • The name of the cookie.
optional
attributes: { domain: string; path?: string; }
  • Path and domain, can be used to pass the exact same attributes that were used to set the cookie.