Class Nexus\Mcp\Server\Transport\Http\Middleware\RequestBodySizeLimitMiddleware

final
readonly
implements MiddlewareInterface

Rejects a request whose body exceeds a configured byte cap with an id-less JSON-RPC error on HTTP 413, reading a body of indeterminate size only up to one byte past the cap.

Methods