also fix cb prototype description
This commit is contained in:
parent
1697126a15
commit
f42fdb1a76
|
@ -142,8 +142,8 @@ Publishes a message.
|
|||
Subscribes to one or several topics.
|
||||
|
||||
#### Syntax
|
||||
`mqtt:subscribe(topic, qos[, function(client, topic, message)])`
|
||||
`mqtt:subscribe(table[, function(client, topic, message)])`
|
||||
`mqtt:subscribe(topic, qos[, function(client)])`
|
||||
`mqtt:subscribe(table[, function(client)])`
|
||||
|
||||
#### Parameters
|
||||
- `topic` a [topic string](http://www.hivemq.com/blog/mqtt-essentials-part-5-mqtt-topics-best-practices)
|
||||
|
|
Loading…
Reference in New Issue