Minor typo changes and add comments

This commit is contained in:
Francois BIOT
2023-02-23 19:24:27 +01:00
parent a880a1ff2f
commit 2587371457

View File

@@ -331,7 +331,9 @@ class MqttBroker
void begin() { server->begin(); }
void loop();
/** Connect the broker to a parent broker */
void connect(const string& host, uint16_t port=1883);
/** returns true if connected to another broker */
bool connected() const { return state == Connected; }
size_t clientsCount() const { return clients.size(); }