terminate example

This commit is contained in:
Arnim Läuger 2016-01-29 22:40:15 +01:00
parent 4bf2bf03d7
commit 1697126a15
1 changed files with 1 additions and 0 deletions

View File

@ -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)
```