跳转到内容
简体中文

HonoBackendOptions

此内容尚不支持你的语言。

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

readonly optional app?: HonoAppLike

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

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:65

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