RequestSizeLimit class
Middleware for enforcing a maximum size on incoming request bodies.
Constructors
- RequestSizeLimit(int maxBytes)
-
Creates a new RequestSizeLimit with the specified
maxBytes.
Properties
Methods
-
handle(
) → Middleware - Returns a Middleware that rejects requests exceeding the size limit.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited