eclipse-paho / eclipse-paho/paho.mqtt.javascript
Can I change the IP Address of a Paho.MQTT.Client after creating it?
Open
question
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 466
- PR merge metrics
- No merged PRs in 30d
Description
Hi All,
I'm writing an web application where I want a single Paho.MQTT.Client to be able to disconnect from a MQTT broker, and connect it to another MQTT broker with a different IP address.
Is this possible?
I've tried myClient._setHost("a.b.c.d"); and that returns 'Unsupported', even after a call to myClient.disconnect().
So do I have to delete my existing Paho.MQTT.Client and create a new one with a different IP address in order to switch between MQTT brokers?
Contributor guide
Assessment
This issue has not been assessed yet.