Skip to main content
Module

x/oak_sessions/deps.ts>Router#keys

Session middleware for Oak
Go to Latest
method Router.prototype.keys
import { Router } from "https://deno.land/x/oak_sessions@v4.1.2/deps.ts";

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