vertx / io.vertx.rxjava.mqtt / MqttClient / ping

ping

open fun ping(): MqttClient

This method is needed by the client in order to avoid server closes the connection due to the keep alive timeout if client has no messages to send

Return
current MQTT client instance