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