open fun reject(returnCode: MqttConnectReturnCode): MqttEndpoint
Sends the CONNACK message to the remote MQTT client rejecting the connection request with specified return code. See io.vertx.rxjava.mqtt.MqttEndpoint#accept for accepting connection
returnCode - the connect return code
Return
a reference to this, so the API can be used fluently