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

pingHandler

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

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

Parameters

handler - the handler to be called when a PING is received

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