terminate example
This commit is contained in:
parent
4bf2bf03d7
commit
1697126a15
|
@ -161,3 +161,4 @@ m:subscribe("/topic",0, function(conn) print("subscribe success") end)
|
||||||
|
|
||||||
-- or subscribe multiple topic (topic/0, qos = 0; topic/1, qos = 1; topic2 , qos = 2)
|
-- or subscribe multiple topic (topic/0, qos = 0; topic/1, qos = 1; topic2 , qos = 2)
|
||||||
m:subscribe({["topic/0"]=0,["topic/1"]=1,topic2=2}, function(conn) print("subscribe success") end)
|
m:subscribe({["topic/0"]=0,["topic/1"]=1,topic2=2}, function(conn) print("subscribe success") end)
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue