C++
Jason HS Huang
这个作者很懒,什么都没留下…
展开
-
C++ HTTP POST
.h#pragma once#ifndef HTTPCLIENT_H #define HTTPCLIENT_H #include <windows.h>#include <WinInet.h> #include <string> using namespace std;#define IE_AGENT _T("Mozilla/4.0 (compatib...原创 2018-04-11 17:33:33 · 2333 阅读 · 0 评论 -
Uri Parse
#include <string>#include <algorithm> // findstruct Uri{public: std::wstring QueryString, Path, Protocol, Host, Port; static Uri Parse(const std::wstring &uri) { Uri result; typed...翻译 2018-04-17 16:22:24 · 416 阅读 · 0 评论 -
curl c++封装 get/post
#pragma once#include <map>#include <string>#include "curl/curl.h"// Http get,post数据成功#define HTTP_GET_OR_POST_SUCCESS_NOR 200// Http get获取post数据文件#define HTTP_GET_OR_POST_SUCCESS_DOWN_F...原创 2018-05-31 17:09:31 · 1315 阅读 · 0 评论