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