Skip to main content
Latest
method Cookies.prototype.[Symbol.asyncIterator]
import { Cookies } from "https://deno.land/x/oak_sessions@v4.1.11/deps.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]>