/* WEBSERVER MODULE Copyright (C) 2016-2019 by Xose PĂ©rez */ #pragma once #include #if WEB_SUPPORT #include #include #include #include #include #include #else // TODO: need these prototypes for .ino class AsyncClient; class AsyncWebServer; class AsyncWebServerRequest; class ArRequestHandlerFunction; class AsyncWebSocketClient; class AsyncWebSocket; class AwsEventType; #endif // WEB_SUPPORT == 1 using web_body_callback_f = std::function; using web_request_callback_f = std::function; AsyncWebServer* webServer(); void webBodyRegister(web_body_callback_f); void webRequestRegister(web_request_callback_f);