добавил асинхронный веб сервер и веб сокеты, проверенный код

This commit is contained in:
Dmitry Borisenko
2021-12-23 00:33:45 +01:00
parent f20486517b
commit 7147e041b4
15 changed files with 201 additions and 249 deletions

View File

@@ -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);