Working on migrating to using websockets for the UI
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "service.h"
|
||||
#include "../core/dashboard_state.h"
|
||||
#include <WebServer.h>
|
||||
|
||||
|
||||
@@ -8,7 +9,7 @@ class WebService : public Service {
|
||||
|
||||
public:
|
||||
|
||||
WebService();
|
||||
WebService(DashboardState& state);
|
||||
|
||||
void begin() override;
|
||||
void update() override;
|
||||
@@ -16,4 +17,5 @@ public:
|
||||
private:
|
||||
|
||||
WebServer server;
|
||||
DashboardState dashboardState;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user