Zum Inhalt springen
Deutsch

ExpressBackendOptionsType

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

ExpressBackendOptionsType = object

Defined in: src/http/backend/ExpressBackendOptions.ts:22

Plain options-object shape accepted by an ExpressBackend.

readonly optional app?: ExpressAppLike

Defined in: src/http/backend/ExpressBackendOptions.ts:28

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/ExpressBackendOptions.ts:30

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