Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
method http.SecureCookieMap.prototype.[Symbol.asyncIterator]
import { http } from "https://deno.land/x/fsrouter@3.1.0/deps.ts";
const { SecureCookieMap } = http;

Iterate over the Request cookies, yielding up a tuple containing the key and value of each cookie.

If a key ring was provided, only properly signed cookie keys and values are returned.

Returns

AsyncIterableIterator<[string, string]>