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);
|
|
|
|
|
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();
|
2022-09-28 01:31:35 +02:00
|
|
|
void printDirectory(File dir, String& out);
|
2022-05-19 00:14:53 +03:00
|
|
|
//#endif
|
2021-12-23 23:47:13 +01:00
|
|
|
#endif
|