chore: rename ClusterContext to NodeContext

This commit is contained in:
2025-08-21 17:39:43 +02:00
parent 81bc70fa83
commit 5870695465
10 changed files with 40 additions and 26 deletions

View File

@@ -1,6 +1,6 @@
#include "RestApiServer.h"
RestApiServer::RestApiServer(ClusterContext& ctx, uint16_t port) : server(port), ctx(ctx) {}
RestApiServer::RestApiServer(NodeContext& ctx, uint16_t port) : server(port), ctx(ctx) {}
void RestApiServer::addEndpoint(const String& uri, int method, std::function<void(AsyncWebServerRequest*)> requestHandler) {
serviceRegistry.push_back(std::make_tuple(uri, method));