content_length_validator library

Middleware to block to large requests API.

Functions

maxContentLengthValidator({required int maxContentLength, Response? errorResponse}) → Middleware
Middleware which will block to big requests.