Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/hex/src/fw/service/deps.ts>oak.Cookies#[Symbol.asyncIterator]

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
method oak.Cookies.prototype.[Symbol.asyncIterator]
import { oak } from "https://deno.land/x/hex@0.6.5/src/fw/service/deps.ts";
const { Cookies } = oak;

Iterate over the request's cookies, yielding up a tuple containing the key and the value.

If there are keys set on the application, only keys and values that are properly signed will be returned.

Returns

AsyncIterableIterator<[string, string]>