?? 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 + -