Represents a client-side HTTP response. Instances of this class are not thread-safe.

By: Julien Viet

no subtypes hierarchy

HttpClientResponse(HttpClientResponse delegate)
cookiesshared {String*} cookies

The Set-Cookie headers (including trailers)

headersshared actual MultiMap headers

The http headers

statusCodeshared Integer statusCode

The HTTP status code of the response

statusMessageshared String statusMessage

The HTTP status code of the response

streamshared actual ReadStream stream

The read stream of this request

trailersshared MultiMap trailers

The http trailers

Inherited Attributes
Attributes inherited from: HttpInput
Attributes inherited from: Object
hash, string
netSocketshared actual NetSocket netSocket()

Get a net socket for the underlying connection of this request. USE THIS WITH CAUTION! Writing to the socket directly if you don't know what you're doing can easily break the HTTP protocol

parseBodyshared actual Promise<Body> parseBody<Body>(BodyType<Body> parser)

Parse the input body, the returned promise is resolved with the body.

Inherited Methods
Methods inherited from: Object