SyncHttpClientResponse class

HTTP response for a client connection.

Constructors

SyncHttpClientResponse(RawSynchronousSocket socket)
Creates an instance of SyncHttpClientResponse that contains the response sent by the HTTP server over socket.
factory

Properties

body String?
The body of the HTTP response.
final
contentLength int
The length of the body associated with the HTTP response.
no setter
hashCode int
The hash code for this object.
no setterinherited
headers HttpHeaders
The headers associated with the HTTP response.
final
reasonPhrase String?
A short textual description of the status code associated with the HTTP response.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int?
The resulting HTTP status code associated with the HTTP response.
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