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

x/fsrouter/deps.ts>http.SecureCookieMap#keys

A file system based router for Deno.
Latest
method http.SecureCookieMap.prototype.keys
import { http } from "https://deno.land/x/fsrouter@3.1.0/deps.ts";
const { SecureCookieMap } = http;

Iterate over the request's cookies, yielding up the key of each cookie.

If a keyring was provided, only properly signed cookie keys are returned.

Returns

AsyncIterableIterator<string>