pitrix/include/http_server.h

20 lines
311 B
C

#pragma once
#include "config.h"
#ifdef HTTP_SERVER_ENABLE
#include "my_wifi.h"
#include <FS.h>
#if defined ( ESP8266 )
extern ESP8266WebServer http_server;
#elif defined ( ESP32 )
extern ESP32WebServer http_server;
#endif
extern File upload_file;
void http_server_setup();
void http_server_loop();
#endif