abstract fun ping(data: Buffer, pongHandler: Handler<AsyncResult<Buffer>>): HttpConnection
Send a PING frame to the remote endpoint. This is not implemented for HTTP/1.x.
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