mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
теперь можно выбирать из двух: стандартный или асинхронный веб сервер
This commit is contained in:
16
include/StandWebServer.h
Normal file
16
include/StandWebServer.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
#include "Global.h"
|
||||
#ifdef STANDARD_WEB_SERVER
|
||||
extern void standWebServerInit();
|
||||
|
||||
extern void standWebServerFiles();
|
||||
extern bool handleFileRead(String path);
|
||||
extern String getContentType(String filename);
|
||||
|
||||
#ifdef RSET_FILE_OPERATIONS
|
||||
extern void handleFileUpload();
|
||||
extern void handleFileDelete();
|
||||
extern void handleFileCreate();
|
||||
extern void handleFileList();
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user