ゴミ箱
Main Page
Namespaces
Classes
Files
File List
File Members
3pp
beast
boost
beast
http
status.hpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
3
//
4
// Distributed under the Boost Software License, Version 1.0. (See accompanying
5
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6
//
7
// Official repository: https://github.com/boostorg/beast
8
//
9
10
#ifndef BOOST_BEAST_HTTP_STATUS_HPP
11
#define BOOST_BEAST_HTTP_STATUS_HPP
12
13
#include <
boost/beast/config.hpp
>
14
#include <
boost/beast/core/string.hpp
>
15
#include <iosfwd>
16
17
namespace
boost
{
18
namespace
beast {
19
namespace
http
{
20
21
enum class
status
: unsigned
22
{
30
unknown
= 0,
31
32
continue_
= 100,
33
switching_protocols
= 101,
34
processing
= 102,
35
36
ok
= 200,
37
created
= 201,
38
accepted
= 202,
39
non_authoritative_information
= 203,
40
no_content
= 204,
41
reset_content
= 205,
42
partial_content
= 206,
43
multi_status
= 207,
44
already_reported
= 208,
45
im_used
= 226,
46
47
multiple_choices
= 300,
48
moved_permanently
= 301,
49
found
= 302,
50
see_other
= 303,
51
not_modified
= 304,
52
use_proxy
= 305,
53
temporary_redirect
= 307,
54
permanent_redirect
= 308,
55
56
bad_request
= 400,
57
unauthorized
= 401,
58
payment_required
= 402,
59
forbidden
= 403,
60
not_found
= 404,
61
method_not_allowed
= 405,
62
not_acceptable
= 406,
63
proxy_authentication_required
= 407,
64
request_timeout
= 408,
65
conflict
= 409,
66
gone
= 410,
67
length_required
= 411,
68
precondition_failed
= 412,
69
payload_too_large
= 413,
70
uri_too_long
= 414,
71
unsupported_media_type
= 415,
72
range_not_satisfiable
= 416,
73
expectation_failed
= 417,
74
misdirected_request
= 421,
75
unprocessable_entity
= 422,
76
locked
= 423,
77
failed_dependency
= 424,
78
upgrade_required
= 426,
79
precondition_required
= 428,
80
too_many_requests
= 429,
81
request_header_fields_too_large
= 431,
82
connection_closed_without_response
= 444,
83
unavailable_for_legal_reasons
= 451,
84
client_closed_request
= 499,
85
86
internal_server_error
= 500,
87
not_implemented
= 501,
88
bad_gateway
= 502,
89
service_unavailable
= 503,
90
gateway_timeout
= 504,
91
http_version_not_supported
= 505,
92
variant_also_negotiates
= 506,
93
insufficient_storage
= 507,
94
loop_detected
= 508,
95
not_extended
= 510,
96
network_authentication_required
= 511,
97
network_connect_timeout_error
= 599
98
};
99
102
enum class
status_class
: unsigned
103
{
105
unknown
= 0,
106
108
informational
= 1,
109
111
successful
= 2,
112
114
redirection
= 3,
115
117
client_error
= 4,
118
120
server_error
= 5,
121
};
122
128
status
129
int_to_status
(
unsigned
v);
130
138
status_class
139
to_status_class
(
unsigned
v);
140
147
status_class
148
to_status_class
(
status
v);
149
154
string_view
155
obsolete_reason
(
status
v);
156
158
std::ostream
&
159
operator<<
(
std::ostream
&,
status
);
160
161
}
// http
162
}
// beast
163
}
// boost
164
165
#include <
boost/beast/http/impl/status.ipp
>
166
167
#endif
boost::beast::http::status::expectation_failed
boost::beast::http::operator<<
std::ostream & operator<<(std::ostream &os, message< isRequest, basic_file_body< File >, Fields > const &msg)=delete
boost::beast::http::status::accepted
boost::beast::http::status::uri_too_long
boost::beast::http::status::partial_content
boost::beast::http::obsolete_reason
string_view obsolete_reason(status v)
Definition:
status.ipp:235
boost::beast::http::status_class::redirection
Further action needs to be taken in order to complete the request.
boost::beast::http::status::no_content
boost
Definition:
async_result.hpp:20
boost::beast::http::status::multi_status
boost::beast::http::status::precondition_failed
boost::beast::http::status::not_acceptable
boost::beast::http::status::ok
boost::beast::ostream
detail::ostream_helper< DynamicBuffer, char, std::char_traits< char >, detail::basic_streambuf_movable::value > ostream(DynamicBuffer &buffer)
Definition:
ostream.hpp:91
boost::beast::http::status::precondition_required
boost::beast::http::status::connection_closed_without_response
boost::beast::http::status::request_timeout
boost::beast::http::status_class::client_error
The request contains bad syntax or cannot be fulfilled.
boost::beast::http::status::unauthorized
boost::beast::http::status::length_required
boost::beast::http::status::payment_required
boost::beast::http::status::unsupported_media_type
http
Definition:
beast_common.hpp:6
boost::beast::http::status::not_extended
boost::beast::http::status_class::informational
The request was received, continuing processing.
boost::beast::http::status::variant_also_negotiates
boost::beast::http::status::range_not_satisfiable
boost::beast::http::status::found
boost::beast::http::to_status_class
status_class to_status_class(unsigned v)
Definition:
status.ipp:221
boost::beast::http::status::im_used
boost::beast::http::status::forbidden
boost::beast::http::status::moved_permanently
boost::beast::http::status::bad_gateway
boost::beast::http::status::method_not_allowed
boost::beast::http::status_class
status_class
Definition:
status.hpp:102
boost::beast::http::status::already_reported
boost::beast::http::status::request_header_fields_too_large
boost::beast::http::status::loop_detected
boost::beast::http::status::gone
boost::beast::http::status::unavailable_for_legal_reasons
boost::beast::http::status::non_authoritative_information
boost::beast::http::status::temporary_redirect
boost::beast::http::status::payload_too_large
boost::beast::http::status::conflict
boost::beast::http::status_class::successful
The request was successfully received, understood, and accepted.
boost::beast::http::status::insufficient_storage
boost::beast::http::status::continue_
boost::beast::http::status::client_closed_request
boost::beast::http::status::proxy_authentication_required
boost::beast::http::status::see_other
boost::beast::http::status::switching_protocols
boost::beast::http::status::gateway_timeout
boost::beast::http::field::unknown
boost::beast::http::status::use_proxy
string.hpp
boost::beast::http::status_class::server_error
The server failed to fulfill an apparently valid request.
status.ipp
boost::beast::string_view
boost::string_ref string_view
The type of string view used by the library.
Definition:
string.hpp:36
boost::beast::http::status::not_modified
boost::beast::http::status::internal_server_error
boost::beast::http::status::permanent_redirect
boost::beast::http::status::bad_request
config.hpp
boost::beast::http::status::failed_dependency
boost::beast::http::status::misdirected_request
boost::beast::http::status::created
boost::beast::http::int_to_status
status int_to_status(unsigned v)
Definition:
status.ipp:214
boost::beast::http::status::too_many_requests
boost::beast::http::status::reset_content
boost::beast::http::status::network_connect_timeout_error
boost::beast::http::status::processing
boost::beast::http::status::not_implemented
boost::beast::http::status::http_version_not_supported
boost::beast::http::status::not_found
boost::beast::http::status::unprocessable_entity
boost::beast::http::status::network_authentication_required
boost::beast::http::status
status
Definition:
status.hpp:21
boost::beast::http::status::upgrade_required
boost::beast::http::status::service_unavailable
boost::beast::http::status::multiple_choices
boost::beast::http::status::locked
Generated by
1.8.11