From 2e79f9924785d67acdd32440b7dc9d887c476da9 Mon Sep 17 00:00:00 2001 From: Nikola Kirov Date: Fri, 26 Jan 2024 19:49:21 +0200 Subject: [PATCH] Update from orign --- src/ESPUI.h | 3 +++ 1 file changed, 3 insertions(+) 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;