Changeset 44 in cheroxy for trunk/include
- Timestamp:
- 11/22/12 15:21:02 (11 years ago)
- Location:
- trunk/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/CRXHttpMessage.h
r31 r44 6 6 7 7 #include <string> 8 9 #define CRLF "\r\n" 10 #define CRLF2 "\r\n\r\n" 8 11 9 12 class CRXHttpMessage … … 26 29 27 30 void ResetMessage (void); 28 29 virtual CRXHttpMessage & operator = (const char * aHttpMessage) = 0;30 31 }; 31 32 -
trunk/include/CRXHttpRequest.h
r28 r44 31 31 std::string GetHeader (void) const; 32 32 33 CRXHttpRequest & operator = (const char * aHttpRequest);34 35 33 public: 36 34 std::string GetURL (void) const; -
trunk/include/CRXHttpResponse.h
r26 r44 32 32 private: 33 33 void Parse (void); 34 int ParseContent (const char * aContent,35 const int aLength);36 34 void Reset (void); 37 35 void ResetContent (void); … … 40 38 int GetStatusCode (void) const; 41 39 42 int SetResponse (const char * aHttpResponse, 40 bool IsChunked (void) const; 41 int SetResponseAll (const char * aHttpResponse, 43 42 const int aResponseLength); 43 void SetHeader (const char * aHttpResponse); 44 44 std::string GetHeader (void) const; 45 int SetContent (const char * aContent, 46 const int aLength); 45 47 const char * GetContentBody (void) const; 46 48 int GetContentLength (void) const; 47 48 CRXHttpResponse & operator = (const char * aHttpResponse);49 49 }; 50 50 -
trunk/include/CRXProxy.h
r36 r44 38 38 ~CRXProxy (void); 39 39 40 static CRXProxy * GetNewInstance (void);41 42 40 public: 43 41 /* common utilities */ 44 void ReleaseInstance (void);45 46 42 void SetClientSocket (const int aSocket); 47 43 void SetServerTimeout (const int aTimeout = TCPSOCKET_NO_TIMEOUT);
Note:
See TracChangeset
for help on using the changeset viewer.