Changeset 36 in cheroxy for trunk/include/CRXProxy.h
- Timestamp:
- 11/20/12 19:49:10 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/CRXProxy.h
r35 r36 24 24 { 25 25 private: 26 bool mIsIntercepted;27 28 26 CRXSocket mClient; 29 27 CRXSocket mServer; 28 29 int mServerTimeout; 30 30 31 31 CRXHttpRequest mHttpRequest; … … 45 45 46 46 void SetClientSocket (const int aSocket); 47 void SetServerTimeout (const int aTimeout = TCPSOCKET_NO_TIMEOUT); 47 48 void Close (void); 48 49 … … 59 60 int Forward (void); 60 61 62 int ReceiveRequest (void); 63 int SendRequest (void); 64 65 int ReceiveResponse (void); 66 int SendResponse (void); 67 68 public: 69 /* HTTP data */ 61 70 void SetHttpRequest (const char * aHttpRequest); 62 71 char * GetHttpRequest (char * aBuffer, … … 72 81 int GetHttpResponseBodyLength (void) const; 73 82 74 int ReceiveRequest (void);75 int SendRequest (void);76 77 int ReceiveResponse (void);78 int SendResponse (void);79 83 }; 80 84
Note:
See TracChangeset
for help on using the changeset viewer.