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://dotland.deno.dev/x/hono@v4.2.6/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>