diff --git a/src/ESPUI.h b/src/ESPUI.h index 742b57a..dc5e80a 100644 --- a/src/ESPUI.h +++ b/src/ESPUI.h @@ -270,6 +270,9 @@ public: { return accelerometer(label, [callback, userData](Control* sender, int type){ callback(sender, type, userData); }, color); } + + AsyncWebServer* WebServer() {return server;} + AsyncWebSocket* WebSocket() {return ws;} protected: friend class ESPUIclient;