vertx / io.vertx.rxjava.ext.stomp / StompClientConnection / pingHandler

# pingHandler

`open fun pingHandler(handler: Handler<StompClientConnection>): StompClientConnection`

Sets a handler that let customize the behavior when a ping needs to be sent to the server. Be aware that changing the default behavior may break the compliance with the STOMP specification.

### Parameters

`handler` - the handler

Return
the current io.vertx.rxjava.ext.stomp.StompClientConnection