httpentity.h
来自「监听分析流量中的http流量」· C头文件 代码 · 共 48 行
H
48 行
#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 + =
减小字号Ctrl + -
显示快捷键?