maxBodySize property

int? maxBodySize
getter/setter pair

The largest request body, in bytes, that parseBody will read; null means unlimited. Larger bodies are rejected with a 413 error.

Defaults to Angel.maxBodySize. Middleware can raise it for a single route (e.g. a file upload) by setting it before the body is parsed.

Implementation

late int? maxBodySize = app?.maxBodySize;