Module

x/hono/mod.ts>TrieRouter

Ultrafast web framework for the Edges
Extremely Popular
Go to Latest
class TrieRouter
implements Router<T>
import { TrieRouter } from "https://dotland.deno.dev/x/hono@v3.7.0-rc.1/mod.ts";

Constructors

new
TrieRouter()

Properties

name: string
node: Node<T>

Methods

add(
method: string,
path: string,
handler: T,
)
match(method: string, path: string): Result<T> | null