Module

x/drash/mod.ts>Response#setCookie

A microframework for Deno's HTTP server with zero third-party dependencies
Go to Latest
method Response.prototype.setCookie
import { Response } from "https://dotland.deno.dev/x/drash@v2.7.0/mod.ts";

Set a cookie on the response to be handled by the client.

Parameters