Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hono/mod.ts>StaticRouter#add

Ultrafast web framework for Cloudflare Workers, Deno, and Bun. Fast, but not only fast.
Extremely Popular
Go to Latest
method StaticRouter.prototype.add
import { StaticRouter } from "https://deno.land/x/hono@v2.5.2/mod.ts";

Parameters

method: string
path: string
handler: T