class HonoRouter
implements IRouter
import { HonoRouter } from "https://deno.land/x/deno_nest@v3.7.1/modules/hono/src/router.ts";
Properties
private
app: HonoMethods
private
handle(fn: MiddlewareHandler)delete(path: string, fn: MiddlewareHandler)
get(path: string, fn: MiddlewareHandler)
notFound(fn: NotFoundHandler): void
patch(path: string, fn: MiddlewareHandler)
post(path: string, fn: MiddlewareHandler)
put(path: string, fn: MiddlewareHandler)
routes(): void
serveForStatic(staticOptions: StaticOptions)
startServer(options: ListenOptions)
use(fn: MiddlewareHandler)
useOriginMiddleware(fn: HonoMiddlewareHandler, path?)