/* API MODULE Copyright (C) 2016-2019 by Xose PĂ©rez */ #pragma once #include "web.h" #include // TODO: need these prototypes for .ino using api_get_callback_f = std::function; using api_put_callback_f = std::function ; #if API_SUPPORT #include #include #include #include #if WEB_SUPPORT void apiRegister(const char * key, api_get_callback_f getFn, api_put_callback_f putFn = nullptr); #endif #endif // API_SUPPORT == 1