vertx / io.vertx.reactivex.core.http / HttpConnection / ping

# ping

`open fun ping(data: Buffer, pongHandler: Handler<AsyncResult<Buffer>>): HttpConnection`

Send a frame to the remote endpoint. This is not implemented for HTTP/1.x.

### Parameters

`data` - the 8 bytes data of the frame

`pongHandler` - an async result handler notified with pong reply or the failure

Return
a reference to this, so the API can be used fluently