vertx / io.vertx.reactivex.mqtt / MqttClient / publishHandler

publishHandler

open fun publishHandler(publishHandler: Handler<MqttPublishMessage>): MqttClient

Sets handler which will be called each time server publish something to client

Parameters

publishHandler - handler to call

Return
current MQTT client instance