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
 
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.1 101 Switching Protocols\r\n"
 
const std::string unauthorized = "HTTP/1.0 401 Unauthorized\r\n"
 

Function Documentation

◆ to_buffer()

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

Definition at line 43 of file http_reply.cpp.

Variable Documentation

◆ accepted

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

Definition at line 27 of file http_reply.cpp.

◆ bad_gateway

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

Definition at line 40 of file http_reply.cpp.

◆ bad_request

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

Definition at line 33 of file http_reply.cpp.

◆ created

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.

◆ forbidden

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

Definition at line 35 of file http_reply.cpp.

◆ internal_server_error

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

Definition at line 37 of file http_reply.cpp.

◆ moved_permanently

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

Definition at line 30 of file http_reply.cpp.

◆ moved_temporarily

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

Definition at line 31 of file http_reply.cpp.

◆ multiple_choices

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

Definition at line 29 of file http_reply.cpp.

◆ no_content

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

Definition at line 28 of file http_reply.cpp.

◆ not_found

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

Definition at line 36 of file http_reply.cpp.

◆ not_implemented

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

Definition at line 39 of file http_reply.cpp.

◆ not_modified

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

Definition at line 32 of file http_reply.cpp.

◆ ok

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

Definition at line 25 of file http_reply.cpp.

◆ service_unavailable

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

Definition at line 41 of file http_reply.cpp.

◆ switching_protocols

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

Definition at line 24 of file http_reply.cpp.

◆ unauthorized

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

Definition at line 34 of file http_reply.cpp.



async_web_server_cpp
Author(s): Mitchell Wills , Russel Toris
autogenerated on Mon Feb 28 2022 21:54:08