maximumBytes property

int? maximumBytes
final

Optional maximum response size in bytes.

When set, responses with a known larger Content-Length are rejected before reading the body. Chunked responses are rejected once the streamed byte count exceeds this value.

Implementation

final int? maximumBytes;