diff --git a/src/Daemon.cpp b/src/Daemon.cpp index 4a8d98b..7377d8a 100644 --- a/src/Daemon.cpp +++ b/src/Daemon.cpp @@ -20,6 +20,7 @@ #include "DeviceStatusReceiver.h" #include "HealthReceiver.h" #include "WifiClientCache.h" +#include "framework/UI_WebSocketClientServer.h" namespace OpenWifi { class Daemon *Daemon::instance_ = nullptr; @@ -37,7 +38,8 @@ namespace OpenWifi { DeviceStatusReceiver(), HealthReceiver(), VenueCoordinator(), - WifiClientCache() + WifiClientCache(), + UI_WebSocketClientServer() }); } return instance_; diff --git a/src/RESTAPI/RESTAPI_routers.cpp b/src/RESTAPI/RESTAPI_routers.cpp index eded81e..a2fb99a 100644 --- a/src/RESTAPI/RESTAPI_routers.cpp +++ b/src/RESTAPI/RESTAPI_routers.cpp @@ -8,6 +8,7 @@ #include "RESTAPI/RESTAPI_board_timepoint_handler.h" #include "RESTAPI/RESTAPI_wificlienthistory_handler.h" #include "framework/RESTAPI_SystemCommand.h" +#include "framework/RESTAPI_WebSocketServer.h" namespace OpenWifi { @@ -20,7 +21,8 @@ namespace OpenWifi { RESTAPI_board_timepoint_handler, RESTAPI_board_handler, RESTAPI_board_list_handler, - RESTAPI_wificlienthistory_handler + RESTAPI_wificlienthistory_handler, + RESTAPI_webSocketServer >(Path,Bindings,L, S, TransactionId); }