🧼 Renames stateful socket service
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
#include <task_manager.h>
|
#include <task_manager.h>
|
||||||
#include <EventEndpoint.h>
|
#include <stateful_socket.h>
|
||||||
#include <stateful_persistence.h>
|
#include <stateful_persistence.h>
|
||||||
#include <stateful_service_endpoint.h>
|
#include <stateful_service_endpoint.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef Peripherals_h
|
#ifndef Peripherals_h
|
||||||
#define Peripherals_h
|
#define Peripherals_h
|
||||||
|
|
||||||
#include <EventEndpoint.h>
|
#include <stateful_socket.h>
|
||||||
#include <stateful_persistence.h>
|
#include <stateful_persistence.h>
|
||||||
#include <stateful_service.h>
|
#include <stateful_service.h>
|
||||||
#include <utils/math_utils.h>
|
#include <utils/math_utils.h>
|
||||||
|
|||||||
+2
-18
@@ -1,22 +1,8 @@
|
|||||||
#ifndef EventEndpoint_h
|
#pragma once
|
||||||
#define EventEndpoint_h
|
|
||||||
|
|
||||||
/**
|
#include <PsychicHttp.h>
|
||||||
* ESP32 SvelteKit
|
|
||||||
*
|
|
||||||
* A simple, secure and extensible framework for IoT projects for ESP32 platforms
|
|
||||||
* with responsive Sveltekit front-end built with TailwindCSS and DaisyUI.
|
|
||||||
* https://github.com/theelims/ESP32-sveltekit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2018 - 2023 rjwats
|
|
||||||
* Copyright (C) 2023 theelims
|
|
||||||
*
|
|
||||||
* All Rights Reserved. This software may be modified and distributed under
|
|
||||||
* the terms of the LGPL v3 license. See the LICENSE file for details.
|
|
||||||
**/
|
|
||||||
|
|
||||||
#include <event_socket.h>
|
#include <event_socket.h>
|
||||||
#include <PsychicHttp.h>
|
|
||||||
#include <stateful_service.h>
|
#include <stateful_service.h>
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
@@ -55,5 +41,3 @@ class EventEndpoint {
|
|||||||
socket.emit(_event, output.c_str(), originId.c_str(), sync);
|
socket.emit(_event, output.c_str(), originId.c_str(), sync);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
Reference in New Issue
Block a user