Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/http/mod.ts>getCookies

Deno standard library
Go to Latest
function getCookies
import { getCookies } from "https://deno.land/std@0.80.0/http/mod.ts";

Parse the cookies of the Server Request

Parameters

req: { headers: Headers; }

An object which has a headers property