source: cheroxy/trunk/include/CRXHttpMessage.h@ 24

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

#1 change response, threading and proxy work-flow

File size: 590 bytes
Line 
1/**
2 * CRXHttpMessage.h
3 */
4#ifndef __CRXHTTPMESSAGE_H__
5#define __CRXHTTPMESSAGE_H__
6
7#include <string>
8
9using namespace std;
10
11class CRXHttpMessage
12{
13protected:
14 std::string mHttpMessage;
15 std::string mHttpVersion;
16
17public:
18 CRXHttpMessage (void);
19 virtual ~CRXHttpMessage (void);
20
21protected:
22 virtual void Parse (void);
23
24public:
25 void SetMessage (const char * aHttpMessage);
26 std::string GetMessage (void) const;
27
28 void Reset (void);
29
30 virtual CRXHttpMessage & operator = (const char * aHttpMessage);
31};
32
33#endif // #ifndef __CRXHTTPMESSAGE_H__
Note: See TracBrowser for help on using the repository browser.