paho.mqtt.javascript
paho.mqtt.javascript copied to clipboard
¿unsubscribe to everything?
in a single web app I have the problem that my socket keeps all the subscriptions connected and I need to close all of them, without knowing their url. how can I do it?
You can unsubscribe from everything by simply issuing unsubscribe to '#' topic.