HttpResponse class

HTTP response integrating io.HttpClient and html.HttpRequest.

Constructors

HttpResponse(int status, {String text, String reason, Map<String, String> headers, Stream<List<int>> contentStream, int contentLength})

Properties

contentLength int
read / write
contentStream Stream<List<int>>
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
headers Map<String, String>
read / write
reason String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
status int
read / write
text String
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited