5 #ifndef API_V2_MESSAGE_HPP
6 #define API_V2_MESSAGE_HPP
10 class CommunicationSession;
67 void SetBody(std::string
const &body);
75 void SetBody(
const char *body,
unsigned long size);
85 #endif //API_V2_MESSAGE_HPP
CommunicationSession * GetSocket() const
unsigned char m_http_version_major
char *const GetBody() const
std::string GetHTTPVersion() const
CommunicationSession * m_communicationSession
unsigned char m_http_version_minor
void SetHTTPVersion(unsigned char major, unsigned char minor)
set version of HTTP
void SetBody(std::string const &body)
set body