Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
method http.SecureCookieMap.prototype.[Symbol.asyncIterator]
import { http } from "https://deno.land/x/fsrouter@2.11.1/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]>