source: cheroxy/trunk/src/CRXHttpMessage.cpp@ 24

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

#1 change response, threading and proxy work-flow

File size: 710 bytes
Line 
1/**
2 * CRXHttpMessage.cpp
3 */
4#ifdef _WIN32
5# pragma warning (disable:4996)
6#endif
7
8#include "CRXHttpMessage.h"
9
10CRXHttpMessage::CRXHttpMessage (void)
11{
12}
13
14CRXHttpMessage::~CRXHttpMessage (void)
15{
16}
17
18void
19CRXHttpMessage::SetMessage (const char * aHttpMessage)
20{
21 if (aHttpMessage == NULL)
22 return ;
23
24 mHttpMessage.assign (aHttpMessage);
25
26 this->Parse ();
27}
28
29std::string
30CRXHttpMessage::GetMessage (void) const
31{
32 return mHttpMessage;
33}
34
35void
36CRXHttpMessage::Reset (void)
37{
38 mHttpMessage.clear ();
39}
40
41void
42CRXHttpMessage::Parse (void)
43{
44}
45
46CRXHttpMessage &
47CRXHttpMessage::operator = (const char * aHttpMessage)
48{
49 SetMessage (aHttpMessage);
50 return *this;
51}
Note: See TracBrowser for help on using the repository browser.