Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method SecureCookieMap.prototype.keys
import { SecureCookieMap } from "https://deno.land/std@0.168.0/http/mod.ts";

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>