mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
добавил асинхронный веб сервер и веб сокеты, проверенный код
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
//#pragma once
|
||||
//
|
||||
//#include "Global.h"
|
||||
//
|
||||
//
|
||||
//
|
||||
// void initWS();
|
||||
// void init();
|
||||
#pragma once
|
||||
|
||||
#include "Global.h"
|
||||
|
||||
extern AsyncWebSocket ws;
|
||||
extern AsyncEventSource events;
|
||||
|
||||
void webServerInit();
|
||||
void webSocketsInit();
|
||||
void onWsEvent(AsyncWebSocket *server, AsyncWebSocketClient *client, AwsEventType type, void *arg, uint8_t *data, size_t len);
|
||||
|
||||
Reference in New Issue
Block a user