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

x/superdeno/test/deps.ts>Oak.Cookies#keys

Super-agent driven library for testing Deno HTTP servers.
Latest
method Oak.Cookies.prototype.keys
import { Oak } from "https://deno.land/x/superdeno@4.9.0/test/deps.ts";
const { Cookies } = Oak;

Iterate over the request's cookies, yielding up the key of each cookie.

If a keyring was provided, only properly signed cookie keys are returned.

Returns

AsyncIterableIterator<string>