📄 httpentity.h
字号:
#ifndef HttpEntityH
#define HttpEntityH
#ifdef HTTP_EXPORTS
#define HTTP_API __declspec(dllexport)
#else
#define HTTP_API
#endif
#include <string>
using std::string;
class HttpRequest;
class HttpResponse;
class HttpData;
class HTTP_API HttpEntity
{
friend class HttpRequest;
friend class HttpResponse;
private:
HttpEntity(HttpRequest * request);
HttpEntity(HttpResponse * response);
virtual ~HttpEntity();
public:
//
string GetAllow();
string GetContent_Encoding();
string GetContent_Language();
string GetContent_Location();
string GetContent_MD5();
string GetContent_Range();
string GetContent_Type();
string GetExpires();
string GetLast_Modified();
//
void CreateAllow(const string& value);
void CreateContent_Encoding(const string& value);
void CreateContent_Language(const string& value);
void CreateContent_Location(const string& value);
void CreateContent_MD5(const string& value);
void CreateContent_Range(const string& value);
void CreateContent_Type(const string& value);
void CreateExpires(const string& value);
void CreateLast_Modified(const string& value);
private:
HttpData * data_;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -