2021-12-23 22:42:19 +01:00
|
|
|
#pragma once
|
|
|
|
|
#include "Global.h"
|
2021-12-24 22:49:06 +01:00
|
|
|
|
2021-12-23 22:42:19 +01:00
|
|
|
#ifdef STANDARD_WEB_SERVER
|
|
|
|
|
extern void standWebServerInit();
|
|
|
|
|
extern bool handleFileRead(String path);
|
2023-04-27 01:29:23 +03:00
|
|
|
//extern String getContentType(String filename);
|
2022-05-19 00:14:53 +03:00
|
|
|
//#ifdef REST_FILE_OPERATIONS
|
2021-12-23 22:42:19 +01:00
|
|
|
extern void handleFileUpload();
|
|
|
|
|
extern void handleFileDelete();
|
|
|
|
|
extern void handleFileCreate();
|
|
|
|
|
extern void handleFileList();
|
2023-04-27 01:29:23 +03:00
|
|
|
//void printDirectory(File dir, String& out);
|
|
|
|
|
extern void handleStatus();
|
|
|
|
|
extern void handleGetEdit();
|
|
|
|
|
extern void replyOK ();
|
|
|
|
|
extern void handleNotFound ();
|
|
|
|
|
|
2022-05-19 00:14:53 +03:00
|
|
|
//#endif
|
2021-12-23 23:47:13 +01:00
|
|
|
#endif
|