Skip to main content
Module

x/hono/router.ts>Router

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

Properties

name: string

Methods

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