Skip to content

ExpressMiddlewareOptions

Defined in: src/adapters/express.ts:35

Options for toExpressMiddleware.

Property Type Description Inherited from Defined in
fallthroughStatus? number Call next() (instead of answering) when the handler returns this status, e.g. 404, so routes mounted after the panel still run. Default: never. - src/adapters/express.ts:40
lazyBody? boolean Stream the request body to the handler only when it reads it, instead of buffering it first. Lets later middleware see an untouched stream when the handler ignores the body. Default false. ToWebRequestOptions.lazyBody src/adapters/node.ts:39
origin? string Override the origin (https://example.com); default: protocol + Host header. ToWebRequestOptions.origin src/adapters/node.ts:41