paho.mqtt.javascript icon indicating copy to clipboard operation
paho.mqtt.javascript copied to clipboard

¿unsubscribe to everything?

Open jhonnattan123 opened this issue 4 years ago • 1 comments

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?

jhonnattan123 avatar Oct 15 '20 15:10 jhonnattan123

You can unsubscribe from everything by simply issuing unsubscribe to '#' topic.

sectokia avatar Dec 22 '20 11:12 sectokia