Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/alosaur/src/deps.ts>getCookies

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
function getCookies
import { getCookies } from "https://deno.land/x/alosaur@v0.33.1/src/deps.ts";

Parse the cookies of the Server Request

Parameters

req: { headers: Headers; }

An object which has a headers property

Returns

Record<string, string>