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.
2 parents 6b8027d + 301c148 commit 6a838ccCopy full SHA for 6a838cc
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