Skip to main content
Module

x/rutt/mod.ts>InternalRoutes

🛣️ A tiny and fast http request router designed for use with deno and deno deploy
Go to Latest
type alias InternalRoutes
import { type InternalRoutes } from "https://deno.land/x/rutt@0.0.14/mod.ts";

An array of internal route objects which the routes record is mapped into. This array is used internally in the router function and can even be passed directly to it if you do not wish to use the routes record or want more fine grained control over matches, for example by using a RegExp pattern instead of a URLPattern.

Type Parameters

optional
T = { }
definition: InternalRoute<T>[]