27 std::ostringstream oss;
39 SetBody(body.c_str(), body.length());
47 std::memcpy(
m_body, body, size);
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