Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method SecureCookieMap.prototype.[Symbol.asyncIterator]
import { SecureCookieMap } from "https://deno.land/std@0.199.0/http/cookie_map.ts";

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]>