How to disconnect when there is no incoming data in MQTT.js

后端 未结 0 382
北海茫月
北海茫月 2021-01-05 14:59

I implemented a client with mqtt.js and subscribed some channel. Here, if the subscription message does not come in for 30 seconds, I want to implement auto-disconnection, b

相关标签:
回答
  • 消灭零回复
提交回复
热议问题