#pragma once #include "mongoose.h" #include using namespace std; class Fclient { public: struct mg_mgr mgr_long; struct mg_connection* nc_long; string call_back; static int Sendreq(string& sendUrl, string& sendHeader, string& reqData, string& req_callback, int type); void init_mg(); void free_mg(); int SendreqLong(string& sendUrl, string& sendHeader, string& reqData, int type, bool& flag1, string path, string host); };