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

x/cav/test/test_deps.ts>http.getCookies

A server framework for Deno
Go to Latest
function http.getCookies
import { http } from "https://deno.land/x/cav@0.0.24/test/test_deps.ts";
const { getCookies } = http;

Parse cookies of a header

Parameters

headers: Headers

The headers instance to get cookies from

Returns

Record<string, string>

Object with cookie names as keys