source: cheroxy/trunk/include/CRXHttpRequest.h@ 44

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

#1 change logic more detail

File size: 808 bytes
Line 
1/**
2 * CRXHttpRequest.h
3 */
4#ifndef __CRXHTTPREQUEST_H__
5#define __CRXHTTPREQUEST_H__
6
7#include "CRXHttpMessage.h"
8
9class CRXHttpRequest : public CRXHttpMessage
10{
11private:
12 std::string mMethod;
13 std::string mUrl;
14 std::string mFileExtension;
15
16 std::string mProtocol;
17 std::string mHost;
18 int mPort;
19
20public:
21 CRXHttpRequest (void);
22 ~CRXHttpRequest (void);
23
24private:
25 void Parse (void);
26 void ParseFileExtension (void);
27 void Reset (void);
28
29public:
30 void SetHeader (const char * aHttpRequest);
31 std::string GetHeader (void) const;
32
33public:
34 std::string GetURL (void) const;
35 std::string GetHost (void) const;
36 int GetPort (void) const;
37 std::string GetFileExtension (void) const;
38};
39
40#endif // #ifndef __CRXHTTPREQUEST_H__
Note: See TracBrowser for help on using the repository browser.