Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/superdeno/test/deps.ts>Oak.Cookies#[Symbol.asyncIterator]

Super-agent driven library for testing Deno HTTP servers.
Go to Latest
method Oak.Cookies.prototype.[Symbol.asyncIterator]
import { Oak } from "https://deno.land/x/superdeno@4.8.0/test/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]>