Module

x/abc/vendor/https/deno.land/std/http/cookie.ts>deleteCookie

A better Deno framework to create web application.
Latest
function deleteCookie
import { deleteCookie } from "https://dotland.deno.dev/x/abc@v1.3.3/vendor/https/deno.land/std/http/cookie.ts";

Set the cookie header properly in the Response to delete it

Parameters

res: { headers?: Headers; }

Server Response

name: string

Name of the cookie to Delete Example:

deleteCookie(res,'foo');