Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/levo/src/deps.ts>server.getCookies

Server side rendering with The Elm Architecture in Deno
Latest
function server.getCookies
import { server } from "https://deno.land/x/levo@v0.0.27/src/deps.ts";
const { getCookies } = server;

Parse the cookies of the Server Request

Parameters

req: { headers: Headers; }

An object which has a headers property