добавил новые json утилиты

This commit is contained in:
Dmitry Borisenko
2021-12-24 22:49:06 +01:00
parent dbe11162e5
commit 875f5009c2
10 changed files with 79 additions and 59 deletions

View File

@@ -1,9 +1,12 @@
#pragma once
#include "Global.h"
#ifdef ASYNC_WEB_SERVER
void asyncWebServerInit();
#endif
#ifdef ASYNC_WEB_SOCKETS
extern AsyncWebSocket ws;
extern AsyncEventSource events;
void asyncWebServerInit();
void asyncWebSocketsInit();
void onWsEvent(AsyncWebSocket *server, AsyncWebSocketClient *client, AwsEventType type, void *arg, uint8_t *data, size_t len);
#endif