1
0
mirror of https://github.com/s00500/ESPUI.git synced 2026-03-15 14:20:48 +00:00

Merge remote-tracking branch 'origin/master' into feature-setCustomCSS

This commit is contained in:
Mike Burton
2025-11-27 02:05:49 +00:00
15 changed files with 71 additions and 23 deletions

View File

@@ -259,6 +259,7 @@ public:
AsyncWebServer* WebServer() {return server;}
AsyncWebSocket* WebSocket() {return ws;}
size_t clientCount() const {return MapOfClients.size();}
#if defined(ESP32)
# if (ESP_IDF_VERSION_MAJOR == 4 && ESP_IDF_VERSION_MINOR >= 4) || ESP_IDF_VERSION_MAJOR > 4
@@ -292,7 +293,6 @@ protected:
#define ClientUpdateType_t ESPUIclient::ClientUpdateType_t
void NotifyClients(ClientUpdateType_t newState);
void NotifyClient(uint32_t WsClientId, ClientUpdateType_t newState);
bool SendJsonDocToWebSocket(ArduinoJson::JsonDocument& document, uint16_t clientId);