We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
setWill()
connect()
1 parent abe0711 commit 301c148Copy full SHA for 301c148
README.md
@@ -117,7 +117,7 @@ void setHost(const char hostname[]);
117
void setHost(const char hostname[], int port);
118
```
119
120
-Set a will message (last testament) that gets registered on the broker after connecting:
+Set a will message (last testament) that gets registered on the broker after connecting. `setWill()` has to be called before calling `connect()`:
121
122
```c++
123
void setWill(const char topic[]);
0 commit comments