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

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

#1 work for CRXProxy and CRXException

File size: 593 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
14void
15CRXHttpMessage::SetMessage (const char * aHttpMessage)
16{
17 if (aHttpMessage == NULL)
18 return ;
19
20 mHttpMessage.assign (aHttpMessage);
21
22 this->Parse ();
23}
24
25std::string
26CRXHttpMessage::GetMessage (void) const
27{
28 return mHttpMessage;
29}
30
31void
32CRXHttpMessage::Parse (void)
33{
34}
35
36CRXHttpMessage &
37CRXHttpMessage::operator = (const char * aHttpMessage)
38{
39 SetMessage (aHttpMessage);
40 return *this;
41}
Note: See TracBrowser for help on using the repository browser.