vertx / io.vertx.core.http / HttpClientResponse / bodyHandler

# bodyHandler

`abstract fun bodyHandler(bodyHandler: Handler<Buffer>): HttpClientResponse`

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.

### Parameters

`bodyHandler` - This handler will be called after all the body has been received