Skip to content

basalt / http/src / RawBodyOptions

Interface: RawBodyOptions ​

Defined in: http/src/raw-body.ts:19

Limits for a rawBody route body.

Properties ​

maxBytes? ​

> optional maxBytes?: number

Defined in: http/src/raw-body.ts:25

Most bytes the body may carry. Over it: 413 PAYLOAD_TOO_LARGE, refused on the declared Content-Length when there is one and on the bytes actually received when there is not. Default DEFAULT_RAW_BODY_MAX_BYTES.

Released under the MIT License.