Module

x/hono/router/pattern-router/index.ts>PatternRouter

Web Framework built on Web Standards
Extremely Popular
Latest
class PatternRouter
implements Router<T>
import { PatternRouter } from "https://dotland.deno.dev/x/hono@v4.3.11/router/pattern-router/index.ts";

Properties

private
routes: Route<T>[]
name: string

Methods

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