import { HonoBase } from "https://deno.land/x/hono@v3.4.3/hono-base.ts";
Properties
private
errorHandler: ErrorHandlerprivate
notFoundHandler: NotFoundHandlerreadonly
getPath: (request: Request) => stringhandleEvent: (event: FetchEventLike) => unknown
request: (input: Request | string | URL, requestInit?: RequestInit) => unknown
Methods
private
dispatch(request: Request,
executionCtx: ExecutionContext | FetchEventLike | undefined,
env: E["Bindings"],
method: string,
private
handleError(err: unknown, c: Context<E>)private
matchRoute(method: string, path: string)notFound(handler: NotFoundHandler<E>)
onError(handler: ErrorHandler<E>)
route<SubPath extends string, SubEnv extends Env, SubSchema, SubBasePath extends string>(path: SubPath, app: Hono<SubEnv, SubSchema, SubBasePath>): Hono<E, RemoveBlankRecord<MergeSchemaPath<SubSchema, SubPath> | S>, BasePath>
route<SubPath extends string>(path: SubPath): Hono<E, RemoveBlankRecord<S>, BasePath>