Skip to main content
Module

x/oak/router.ts>Router#[Symbol.iterator]

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Extremely Popular
Go to Latest
method Router.prototype.[Symbol.iterator]
import { Router } from "https://deno.land/x/oak@v10.6.0/router.ts";

Provide an iterator interface that iterates over the routes registered with the router.

Returns

IterableIterator<Route<string, RouteParams<string>, RS>>