add connectedClients see #242

This commit is contained in:
Links
2018-05-10 20:42:03 +02:00
parent 486a612693
commit 4b33575af1
2 changed files with 20 additions and 0 deletions

View File

@ -95,6 +95,8 @@ public:
void setAuthorization(const char * user, const char * password);
void setAuthorization(const char * auth);
int connectedClients(bool ping = false);
#if (WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP8266) || (WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP8266_ASYNC) || (WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP32)
IPAddress remoteIP(uint8_t num);
#endif