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

pingHandler

open fun pingHandler(handler: Handler<Buffer>): HttpConnection

Set an handler notified when a frame is received from the remote endpoint. This is not implemented for HTTP/1.x.

Parameters

handler - the handler to be called when a is received

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