#include <http.h>
Public Member Functions | |
error (int code, const std::string &desc) | |
error (int code, const std::string &desc, const std::string &msg) | |
virtual | ~error () throw () |
virtual const char * | what () const throw () |
virtual void | send (Request &req) |
Public Attributes | |
int | code |
std::string | desc |
std::string | msg |
wibble::net::http::error::error | ( | int | code, | |
const std::string & | desc | |||
) | [inline] |
wibble::net::http::error::error | ( | int | code, | |
const std::string & | desc, | |||
const std::string & | msg | |||
) | [inline] |
virtual wibble::net::http::error::~error | ( | ) | throw () [inline, virtual] |
void wibble::net::http::error::send | ( | Request & | req | ) | [virtual] |
Reimplemented in wibble::net::http::error404.
References code, desc, wibble::str::fmtf(), msg, wibble::net::http::Request::send(), wibble::net::http::Request::send_date_header(), wibble::net::http::Request::send_extra_response_headers(), wibble::net::http::Request::send_server_header(), and wibble::net::http::Request::send_status_line().
Referenced by wibble::net::http::error404::send().
Referenced by send().
std::string wibble::net::http::error::desc |
std::string wibble::net::http::error::msg |
Referenced by wibble::net::http::error404::send(), send(), and what().