vertx / io.vertx.reactivex.mqtt / MqttEndpoint / subscribeHandler

# subscribeHandler

`open fun subscribeHandler(handler: Handler<MqttSubscribeMessage>): MqttEndpoint`

Set a subscribe handler on the MQTT endpoint. This handler is called when a SUBSCRIBE message is received by the remote MQTT client

### Parameters

`handler` - the handler

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