文件下载:https://download.csdn.net/download/QQ6550523/12519465
使用方法:
#include "HttpClient.h"
HTTPClient http;
HTTPRequest req;
HTTPResponse rep;
std::string strData;
req.url = "http://www.qq.com";
if (http.get(req, rep, strData))
{
if (rep.code == 200)
{
}
}