Skip to content

Commit b6301a4

Browse files
authored
Update README.md
1 parent bfa8d10 commit b6301a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ _This functions returns a value that indicates if the connection has been establ
8383
Publishes a message to the broker with an optional payload:
8484

8585
```c++
86-
void publish(string topic);
86+
void publish(string topic, int qos = 0);
8787
void publish(string topic, string payload, int qos = 0);
8888
```
8989

0 commit comments

Comments
 (0)