Ir al contenido
Español

ExpressBackendOptionsBuilder

Esta página aún no está disponible en tu idioma.

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

Fluent builder for ExpressBackendOptionsType.

new ExpressBackendOptionsBuilder(): ExpressBackendOptionsBuilder

ExpressBackendOptionsBuilder

OptionsBuilder.constructor

build(): Partial<T>

Defined in: src/util/OptionsBuilder.ts:51

Snapshot the set fields as an independent Partial<T> (own props only).

Partial<T>

OptionsBuilder.build


withApp(app): this

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

Bring-your-own Express app (skips the internal express import).

ExpressAppLike

this


withMaxBodyBytes(bytes): this

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

Maximum request body size in bytes. Default 10 MiB; exceeding it returns 413.

number

this


static create(): ExpressBackendOptionsBuilder

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

Start a fresh builder. Equivalent to new ExpressBackendOptionsBuilder().

ExpressBackendOptionsBuilder