import { setCookie } from "https://dotland.deno.dev/std@0.96.0/http/mod.ts";
Set the cookie header properly in the Response
Parameters
cookie: Cookie
Cookie to set
Example:
setCookie(response, { name: 'deno', value: 'runtime',
httpOnly: true, secure: true, maxAge: 2, domain: "deno.land" });