10 #ifndef BOOST_BEAST_WEBSOCKET_RFC6455_HPP 11 #define BOOST_BEAST_WEBSOCKET_RFC6455_HPP 56 template<
class Allocator>
203 operator bool()
const The endpoint is going away, either because of a server failure or because the browser is navigating a...
Definition: rfc6455.hpp:73
The server is terminating the connection due to a temporary condition, e.g. it is overloaded and is c...
Definition: rfc6455.hpp:100
reason_string reason
The optional utf8-encoded reason string.
Definition: rfc6455.hpp:166
Definition: async_result.hpp:20
close_reason(char const *s)
Construct from a reason string literal. code is close_code::normal.
Definition: rfc6455.hpp:189
The connection is being terminated because the endpoint received data of a type it cannot accept (for...
Definition: rfc6455.hpp:79
Definition: rfc6455.hpp:129
Definition: rfc6455.hpp:160
The server is terminating the connection because it is restarting.
Definition: rfc6455.hpp:97
Definition: rfc6455.hpp:111
std::uint16_t code
The close code.
Definition: rfc6455.hpp:163
The server is terminating the connection because it encountered an unexpected condition that prevente...
Definition: rfc6455.hpp:94
The client is terminating the connection because it expected the server to negotiate one or more exte...
Definition: rfc6455.hpp:91
Definition: fields.hpp:53
The endpoint is terminating the connection because it received a message that violates its policy...
Definition: rfc6455.hpp:85
The endpoint is terminating the connection because a message was received that contained inconsistent...
Definition: rfc6455.hpp:82
close_code
Definition: rfc6455.hpp:67
Definition: rfc6455.hpp:141
Definition: rfc6455.hpp:123
close_reason(close_code code_, string_view s)
Construct from a close code and reason string.
Definition: rfc6455.hpp:196
The endpoint is terminating the connection because a data frame was received that is too large...
Definition: rfc6455.hpp:88
boost::string_ref string_view
The type of string view used by the library.
Definition: string.hpp:36
The endpoint is terminating the connection due to a protocol error.
Definition: rfc6455.hpp:76
Normal closure; the connection successfully completed whatever purpose for which it was created...
Definition: rfc6455.hpp:70
Definition: rfc6455.hpp:135
Definition: rfc6455.hpp:117
close_reason(string_view s)
Construct from a reason string. code is close_code::normal.
Definition: rfc6455.hpp:182
bool is_upgrade(http::header< true, http::basic_fields< Allocator >> const &req)
Definition: rfc6455.ipp:22
close_reason(std::uint16_t code_)
Construct from a code.
Definition: rfc6455.hpp:176