source: cheroxy/trunk/include/CRXHttpHeader.h@ 46

Last change on this file since 46 was 46, checked in by cheese, 11 years ago

#1 rename http message to http header and change way to process response content as binary

File size: 506 bytes
Line 
1/**
2 * CRXHttpHeader.h
3 */
4#ifndef __CRXHTTPMESSAGE_H__
5#define __CRXHTTPMESSAGE_H__
6
7#include <string>
8
9#define CRLF "\r\n"
10#define CRLF2 "\r\n\r\n"
11
12class CRXHttpHeader
13{
14protected:
15 std::string mHttpHeader;
16 std::string mHttpVersion;
17
18public:
19 CRXHttpHeader (void);
20 virtual ~CRXHttpHeader (void);
21
22protected:
23 virtual void Parse (void) = 0;
24
25public:
26 void Set (const char * aHeader);
27 std::string Get (void) const;
28};
29
30#endif // #ifndef __CRXHTTPMESSAGE_H__
Note: See TracBrowser for help on using the repository browser.