добавил наследника для класса отправки в сокеты

This commit is contained in:
Dmitry Borisenko
2021-12-28 00:01:01 +01:00
parent 4a7b130b26
commit be35992c84
9 changed files with 54 additions and 37 deletions

View File

@@ -0,0 +1,8 @@
#include "сlasses/sendJsonWs.h"
SendJsonWs::SendJsonWs() {}
SendJsonWs::~SendJsonWs() {}
void SendJsonWs::send(String& jsonArrayElement, uint8_t& _num) {
standWebSocket.sendTXT(_num, jsonArrayElement);
}