ResponseTooLargeException class final

A response body larger than the request allows (PendingRequest.maxResponseSize, HttpClientFactory.maxResponseBytes). The connection is closed when it is thrown; it is not retried.

Inheritance

Constructors

ResponseTooLargeException(Uri url, int maxBytes)
The response from url went past maxBytes.

Properties

hashCode → int
The hash code for this object.
no setterinherited
maxBytes → int
The limit it went past.
final
message → String
Human readable description of the failure.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url → Uri
The URL requested.
final

Methods

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