HTTPURLResponse class
The response associated with loading a HTTP URL.
- Inheritance
-
- Object
- URLResponse
- HTTPURLResponse
Properties
-
allHeaderFields
→ Map<
String, String> -
The HTTP headers of the response.
no setter
- expectedContentLength → int
-
The expected amount of data returned with the response.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- mimeType → String?
-
The MIME type of the response.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int
-
The HTTP status code of the response (e.g. 200).
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited