跳转到内容
简体中文

ExpressBackendOptions

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

Defined in: src/http/backend/ExpressBackend.ts:61

readonly optional app?: ExpressAppLike

Defined in: src/http/backend/ExpressBackend.ts:67

Bring-your-own app — useful when you already attach custom middleware (CORS, sessions, metrics, …) outside the DSL. When omitted, a fresh Express app is created via the installed express package.


readonly optional maxBodyBytes?: number

Defined in: src/http/backend/ExpressBackend.ts:69

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