mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
добавил класс стрима массива в сокеты
This commit is contained in:
21
include/Web.h
Normal file
21
include/Web.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
#include "Global.h"
|
||||
|
||||
class StreamJsonArray;
|
||||
|
||||
class StreamJsonArray {
|
||||
public:
|
||||
StreamJsonArray();
|
||||
~StreamJsonArray();
|
||||
|
||||
void sendFile(String path, uint8_t num);
|
||||
|
||||
void loop();
|
||||
|
||||
private:
|
||||
File file;
|
||||
String _path;
|
||||
uint8_t _num;
|
||||
};
|
||||
|
||||
extern StreamJsonArray* myStreamJsonArray;
|
||||
Reference in New Issue
Block a user