x/oak/mod.ts

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
method Router.prototype.keys
import { Router } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/mod.ts?p=prototype.keys&s=Router";

Iterate over the routes currently added to the router. To be compatible with the iterable interfaces, the key is set to the value of the route.

Returns

IterableIterator<Route<string>>[src]