Same as {@link HttpClientResponse#body} but with an handler
called when the operation completes
Same as {@link HttpClientResponse#body} but with an handler
called when the operation completes
Convenience method for receiving the entire request body in one piece.
This saves you having to manually set a dataHandler and an endHandler and append the chunks of the body until the whole body received. Don't use this if your request body is large - you could potentially run out of RAM.
Set an custom frame handler. The handler will get notified when the http stream receives an custom HTTP/2 frame. HTTP/2 permits extension of the protocol.
Same as {@link HttpClientResponse#end} but with an handler
called when the operation completes
Same as {@link HttpClientResponse#end} but with an handler
called when the operation completes
Return the first header value with the specified name
Return the first header value with the specified name
Return the first trailer value with the specified name
Pipe this ReadStream
to the WriteStream
.
Elements emitted by this stream will be written to the write stream until this stream ends or fails.
Once this stream has ended or failed, the write stream will be ended and the handler
will be
called with the result.
Pipe this ReadStream
to the WriteStream
.
Elements emitted by this stream will be written to the write stream until this stream ends or fails.
Once this stream has ended or failed, the write stream will be ended and the handler
will be
called with the result.
Set an handler for stream priority changes.
This is not implemented for HTTP/1.x.Generated using TypeDoc
Represents a client-side HTTP response.
Vert.x provides you with one of these via the handler that was provided when creating the HttpClientRequest or that was set on the HttpClientRequest instance.
It implements ReadStream so it can be used with Pipe to pipe data with flow control.