Functions | Variables
async_web_server_cpp::status_strings Namespace Reference

Functions

boost::asio::const_buffer to_buffer (HttpReply::status_type status)

Variables

const std::string accepted = "HTTP/1.0 202 Accepted\r\n"
const std::string bad_gateway = "HTTP/1.0 502 Bad Gateway\r\n"
const std::string bad_request = "HTTP/1.0 400 Bad Request\r\n"
const std::string created = "HTTP/1.0 201 Created\r\n"
const std::string forbidden = "HTTP/1.0 403 Forbidden\r\n"
const std::string internal_server_error = "HTTP/1.0 500 Internal Server Error\r\n"
const std::string moved_permanently = "HTTP/1.0 301 Moved Permanently\r\n"
const std::string moved_temporarily = "HTTP/1.0 302 Moved Temporarily\r\n"
const std::string multiple_choices = "HTTP/1.0 300 Multiple Choices\r\n"
const std::string no_content = "HTTP/1.0 204 No Content\r\n"
const std::string not_found = "HTTP/1.0 404 Not Found\r\n"
const std::string not_implemented = "HTTP/1.0 501 Not Implemented\r\n"
const std::string not_modified = "HTTP/1.0 304 Not Modified\r\n"
const std::string ok = "HTTP/1.0 200 OK\r\n"
const std::string service_unavailable = "HTTP/1.0 503 Service Unavailable\r\n"
const std::string switching_protocols = "HTTP/1.0 101 Switching Protocols\r\n"
const std::string unauthorized = "HTTP/1.0 401 Unauthorized\r\n"

Function Documentation

boost::asio::const_buffer async_web_server_cpp::status_strings::to_buffer ( HttpReply::status_type  status)

Definition at line 57 of file http_reply.cpp.


Variable Documentation

const std::string async_web_server_cpp::status_strings::accepted = "HTTP/1.0 202 Accepted\r\n"

Definition at line 28 of file http_reply.cpp.

const std::string async_web_server_cpp::status_strings::bad_gateway = "HTTP/1.0 502 Bad Gateway\r\n"

Definition at line 52 of file http_reply.cpp.

const std::string async_web_server_cpp::status_strings::bad_request = "HTTP/1.0 400 Bad Request\r\n"

Definition at line 40 of file http_reply.cpp.

const std::string async_web_server_cpp::status_strings::created = "HTTP/1.0 201 Created\r\n"

Definition at line 26 of file http_reply.cpp.

const std::string async_web_server_cpp::status_strings::forbidden = "HTTP/1.0 403 Forbidden\r\n"

Definition at line 44 of file http_reply.cpp.

const std::string async_web_server_cpp::status_strings::internal_server_error = "HTTP/1.0 500 Internal Server Error\r\n"

Definition at line 48 of file http_reply.cpp.

const std::string async_web_server_cpp::status_strings::moved_permanently = "HTTP/1.0 301 Moved Permanently\r\n"

Definition at line 34 of file http_reply.cpp.

const std::string async_web_server_cpp::status_strings::moved_temporarily = "HTTP/1.0 302 Moved Temporarily\r\n"

Definition at line 36 of file http_reply.cpp.

const std::string async_web_server_cpp::status_strings::multiple_choices = "HTTP/1.0 300 Multiple Choices\r\n"

Definition at line 32 of file http_reply.cpp.

const std::string async_web_server_cpp::status_strings::no_content = "HTTP/1.0 204 No Content\r\n"

Definition at line 30 of file http_reply.cpp.

const std::string async_web_server_cpp::status_strings::not_found = "HTTP/1.0 404 Not Found\r\n"

Definition at line 46 of file http_reply.cpp.

const std::string async_web_server_cpp::status_strings::not_implemented = "HTTP/1.0 501 Not Implemented\r\n"

Definition at line 50 of file http_reply.cpp.

const std::string async_web_server_cpp::status_strings::not_modified = "HTTP/1.0 304 Not Modified\r\n"

Definition at line 38 of file http_reply.cpp.

const std::string async_web_server_cpp::status_strings::ok = "HTTP/1.0 200 OK\r\n"

Definition at line 24 of file http_reply.cpp.

const std::string async_web_server_cpp::status_strings::service_unavailable = "HTTP/1.0 503 Service Unavailable\r\n"

Definition at line 54 of file http_reply.cpp.

const std::string async_web_server_cpp::status_strings::switching_protocols = "HTTP/1.0 101 Switching Protocols\r\n"

Definition at line 22 of file http_reply.cpp.

const std::string async_web_server_cpp::status_strings::unauthorized = "HTTP/1.0 401 Unauthorized\r\n"

Definition at line 42 of file http_reply.cpp.



async_web_server_cpp
Author(s): Mitchell Wills
autogenerated on Thu Aug 27 2015 12:27:39