function setCookieimport { setCookie } from "https://deno.land/std@0.73.0/http/mod.ts"; setCookie(res: { headers?: Headers; }, cookie: Cookie): voidSet the cookie header properly in the Response Parametersres: { headers?: Headers; }An object which has a headers property cookie: CookieCookie to set Example: setCookie(response, { name: 'deno', value: 'runtime', httpOnly: true, secure: true, maxAge: 2, domain: "deno.land" }); Returnsvoid