Skip to main content
Module

x/hono/mod.ts>TrieRouter

Web Framework built on Web Standards
Extremely Popular
Go to Latest
class TrieRouter
implements Router<T>
import { TrieRouter } from "https://deno.land/x/hono@v4.2.7/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>