libiqxmlrpc  0.12.4
 All Classes Namespaces Files Functions Typedefs Enumerations
Public Member Functions | List of all members
iqxmlrpc::http::Error_response Class Reference

#include <http.h>

Inheritance diagram for iqxmlrpc::http::Error_response:
iqxmlrpc::http::Packet iqxmlrpc::Exception iqxmlrpc::http::Bad_request iqxmlrpc::http::Expectation_failed iqxmlrpc::http::Length_required iqxmlrpc::http::Method_not_allowed iqxmlrpc::http::Request_too_large iqxmlrpc::http::Unauthorized iqxmlrpc::http::Unsupported_content_type

Public Member Functions

 Error_response (const std::string &phrase, int code)
 
const Response_headerresponse_header () const
 
std::string dump_error_response () const
 
- Public Member Functions inherited from iqxmlrpc::http::Packet
 Packet (http::Header *header, const std::string &content)
 
void set_keep_alive (bool=true)
 
const http::Headerheader () const
 
const std::string & content () const
 
std::string dump () const
 
- Public Member Functions inherited from iqxmlrpc::Exception
 Exception (const std::string &i, int c=-32000)
 
virtual int code () const
 

Additional Inherited Members

- Protected Attributes inherited from iqxmlrpc::http::Packet
boost::shared_ptr< http::Headerheader_
 
std::string content_
 

Detailed Description

Exception related to HTTP protocol. Can be sent as error response to client.


The documentation for this class was generated from the following file: