Module

x/hono/router.ts>Router

Fast, Lightweight, Web-standards
Extremely Popular
Go to Latest
interface Router
import { type Router } from "https://dotland.deno.dev/x/hono@v4.1.5/router.ts";

Properties

name: string

Methods

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