如何在一个进程中,使多个协程共用一个连接 #3024
-
使用
以下是使用源码 在进程启动时,启动mqtt
通过http请求给主题发送数据
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
提个建议,代码啥的,提交 Issue 的时候,都好好整理一下。。。 这看着没头没尾的,显得很乱 |
Beta Was this translation helpful? Give feedback.
-
现在不知道怎么写,能帮我把reconnect这个方法重写 下吗,其它的 发 消息,监听消息我自己写,关键是怎么启动mqtt死循环不断的读数据 |
Beta Was this translation helpful? Give feedback.
-
能大概的说下思路吗 |
Beta Was this translation helpful? Give feedback.
-
好的。我试试,谢谢 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
#3026