pitrix/include/http_server.h

17 lines
269 B
C
Raw Normal View History

2019-06-12 18:57:31 +00:00
#pragma once
#include "config.h"
#ifdef HTTP_SERVER_ENABLE
#include "my_wifi.h"
#if defined ( ESP8266 )
2019-06-12 18:57:31 +00:00
extern ESP8266WebServer http_server;
#elif defined ( ESP32 )
extern ESP32WebServer http_server;
#endif
2019-06-12 18:57:31 +00:00
void http_server_setup();
void http_server_loop();
#endif