Skip to content

HonoBackendOptions

Defined in: src/http/backend/HonoBackend.ts:47

readonly optional app?: HonoAppLike

Defined in: src/http/backend/HonoBackend.ts:53

Bring-your-own Hono app — useful if you already registered middleware (CORS, JWT, logger) before handing it off. When omitted, we import hono dynamically and build a fresh app on listen().


readonly optional maxBodyBytes?: number

Defined in: src/http/backend/HonoBackend.ts:55

Maximum allowed body size in bytes (default: 10 MiB). Exceeding it returns 413.