Skip to main content
Module

x/hono/hono-base.ts>HonoBase#route

Web Framework built on Web Standards
Extremely Popular
Go to Latest
method HonoBase.prototype.route
import { HonoBase } from "https://deno.land/x/hono@v4.2.8/hono-base.ts";

Type Parameters

SubPath extends string
SubEnv extends Env
SubSchema extends Schema
SubBasePath extends string

Parameters

path: SubPath
optional
app: Hono<SubEnv, SubSchema, SubBasePath>

Returns

Hono<E, MergeSchemaPath<SubSchema, MergePath<BasePath, SubPath>> & S, BasePath>