import { Hono } from "https://deno.land/x/hono@v2.1.0/hono.ts";
Constructors
new
Hono(init?: Partial<Pick<Hono, "router" | "strict">>)Type Parameters
optional
E extends { Bindings?: Bindings; Variables?: Variables; } = EnvironmentProperties
Methods
private
matchRoute(method: string, path: string)handleEvent(event: FetchEvent): Promise<Response>
notFound(handler: NotFoundHandler): Hono<E, P>
onError(handler: ErrorHandler): Hono<E, P>
request(input: RequestInfo, requestInit?: RequestInit): Promise<Response>