Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@v12.6.2/router.ts";

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

Returns

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