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

x/hono/hono.ts>Hono#addRoute

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

Parameters

method: string
path: string
handler: Handler<P, E, S>