Skip to main content
Module

x/oak/mod.ts>Cookies#[Symbol.asyncIterator]

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Extremely Popular
Go to Latest
method Cookies.prototype.[Symbol.asyncIterator]
import { Cookies } from "https://deno.land/x/oak@v12.5.0/mod.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]>