#include <http.h>
Public Member Functions | |
Error_response (const std::string &phrase, int code) | |
const Response_header * | response_header () const |
std::string | dump_error_response () const |
![]() | |
Packet (http::Header *header, const std::string &content) | |
void | set_keep_alive (bool=true) |
const http::Header * | header () const |
const std::string & | content () const |
std::string | dump () const |
![]() | |
Exception (const std::string &i, int c=-32000) | |
virtual int | code () const |
Additional Inherited Members | |
![]() | |
boost::shared_ptr< http::Header > | header_ |
std::string | content_ |
Exception related to HTTP protocol. Can be sent as error response to client.