8 #ifndef _HTTP_RESPONSE_H_
9 #define _HTTP_RESPONSE_H_
11 #define READ_BUFFER_SIZE_BLOCK 4096
69 #endif // _HTTP_RESPONSE_H_
The HTTP response implementation.
std::size_t m_content_start
void set_status(std::string status)
void clear()
Reset the http object.
const std::string & status() const
virtual void clear()
Reset the http object.
std::size_t m_last_line_start
void read_data(net::socket &sock)
Read an HTTP response from a socket.
void prepare_data_buffer()
Prepare a HTTP request/response to be sent.
bool m_content_length_exists