Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/superdeno/test/deps.ts>Oak.Router#[Symbol.iterator]

Super-agent driven library for testing Deno HTTP servers.
Latest
method Oak.Router.prototype.[Symbol.iterator]
import { Oak } from "https://deno.land/x/superdeno@4.9.0/test/deps.ts";
const { Router } = Oak;

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

Returns

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