Rev | Line | |
---|
[7] | 1 | /**
|
---|
| 2 | * CRXHttpResponse.h
|
---|
| 3 | */
|
---|
| 4 | #ifndef __CRXHTTPRESPONSE_H__
|
---|
| 5 | #define __CRXHTTPRESPONSE_H__
|
---|
| 6 |
|
---|
| 7 | #include "CRXHttpMessage.h"
|
---|
| 8 |
|
---|
| 9 | class CRXHttpResponse : public CRXHttpMessage
|
---|
| 10 | {
|
---|
| 11 | private:
|
---|
| 12 | int mStatusCode;
|
---|
| 13 | std::string mStatusString;
|
---|
| 14 |
|
---|
| 15 | public:
|
---|
| 16 | CRXHttpResponse (void);
|
---|
| 17 |
|
---|
| 18 | private:
|
---|
| 19 | void Parse (void);
|
---|
| 20 |
|
---|
| 21 | public:
|
---|
| 22 | void SetResponse (const char * aHttpResponse);
|
---|
| 23 | std::string GetResponse (void) const;
|
---|
| 24 |
|
---|
| 25 | CRXHttpResponse & operator = (const char * aHttpResponse);
|
---|
| 26 |
|
---|
| 27 | public:
|
---|
| 28 | int GetStatusCode (void) const;
|
---|
| 29 | };
|
---|
| 30 |
|
---|
| 31 | #endif // #ifndef __CRXHTTPRESPONSE_H__
|
---|
Note:
See
TracBrowser
for help on using the repository browser.