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

x/fsrouter/deps.ts>http.getSetCookies

A file system based router for Deno.
Go to Latest
function http.getSetCookies
import { http } from "https://deno.land/x/fsrouter@2.11.1/deps.ts";
const { getSetCookies } = http;

Parse set-cookies of a header

Parameters

headers: Headers

The headers instance to get set-cookies from

Returns

List of cookies