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

Last change on this file since 5 was 5, checked in by cheese, 12 years ago

#1 개발버전 게시

File size: 724 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 mHttpVersion;
15
16 std::string mProtocol;
17 std::string mHost;
18 int mPort;
19
20public:
21 CRXHttpRequest (void);
22
23private:
24 void Parse (void);
25
26public:
27 void SetRequest (const char * aHttpRequest);
28 std::string GetRequest (void) const;
29
30 CRXHttpRequest & operator = (const char * aHttpRequest);
31
32public:
33 std::string GetURL (void) const;
34 std::string GetHost (void) const;
35 int GetPort (void) const;
36};
37
38#endif // #ifndef __CRXHTTPREQUEST_H__
Note: See TracBrowser for help on using the repository browser.