We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfa8d10 commit b6301a4Copy full SHA for b6301a4
README.md
@@ -83,7 +83,7 @@ _This functions returns a value that indicates if the connection has been establ
83
Publishes a message to the broker with an optional payload:
84
85
```c++
86
-void publish(string topic);
+void publish(string topic, int qos = 0);
87
void publish(string topic, string payload, int qos = 0);
88
```
89
0 commit comments