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#keys

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
method oak.Cookies.prototype.keys
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 the keys.

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

Returns

AsyncIterableIterator<string>