#include #include #include #include "httplib.h" using namespace httplib; class HttpServer { public: static int RunHttpServer(); //static std::map m_plugins; static void fn(struct mg_connection* c, int ev, void* ev_data, void* fn_data); private: //static void SaveLog(QString msg); //static char* GetStringSilce(const char* source, int offset, int lenght); static std::string stringUTF8(const std::string& str); static std::string UTF8string(std::string strTemp); //static char* UTF82WCS(const char* szU8, int lenght); static std::string log(const Request& req, const Response& res); static std::string dump_headers(const Headers& headers); }; //std::map HttpServer::m_plugins = new ;