vertx / io.vertx.reactivex.mqtt / MqttEndpoint / unsubscribeHandler

# unsubscribeHandler

`open fun unsubscribeHandler(handler: Handler<MqttUnsubscribeMessage>): MqttEndpoint`

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

### Parameters

`handler` - the handler

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