fastdo  0.6.8
http.hpp
浏览该文件的文档.
1 #ifndef __HTTPWRAPPER_HPP__
2 #define __HTTPWRAPPER_HPP__
3 
4 #include "winux.hpp"
5 
6 #ifdef HTTPWRAPPER_DLL_USE
7  #if defined(_MSC_VER) || defined(WIN32)
8  #pragma warning( disable: 4251 )
9  #ifdef HTTPWRAPPER_DLL_EXPORTS
10  #define HTTPWRAPPER_DLL __declspec(dllexport)
11  #else
12  #define HTTPWRAPPER_DLL __declspec(dllimport)
13  #endif
14 
15  #define HTTPWRAPPER_API __stdcall
16  #else
17  #define HTTPWRAPPER_DLL
18  #define HTTPWRAPPER_API
19  #endif
20 #else
21  #define HTTPWRAPPER_DLL
22  #define HTTPWRAPPER_API
23 #endif
24 
25 #define HTTPWRAPPER_FUNC_DECL(ret) HTTPWRAPPER_DLL ret HTTPWRAPPER_API
26 #define HTTPWRAPPER_FUNC_IMPL(ret) ret HTTPWRAPPER_API
27 
28 #include "http_misc.hpp"
29 #include "http_url.hpp"
30 
32 namespace http
33 {
34 
35 }
36 
37 #endif // __HTTPWRAPPER_HPP__
http协议的相关简单类封装
Definition: http.hpp:32