Module

x/oak_sessions/deps.ts>Router#forEach

Session middleware for Oak
Latest
method Router.prototype.forEach
import { Router } from "https://dotland.deno.dev/x/oak_sessions@v4.1.11/deps.ts";

Iterate over the routes currently added to the router, calling the callback function for each value.

Parameters

callback: (
value1: Route<string>,
value2: Route<string>,
router: this,
) => void
optional
thisArg: any = [UNSUPPORTED]