...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Error codes returned from boost::beast::websocket::stream
operations.
Defined in header <boost/beast/websocket/error.hpp>
enum error
Name |
Description |
---|---|
|
The WebSocket stream was gracefully closed at both endpoints. |
|
The WebSocket operation caused a dynamic buffer overflow. |
|
The WebSocket stream produced an incomplete deflate block. |
|
The WebSocket message exceeded the locally configured limit. |
|
The WebSocket handshake was not HTTP/1.1.
Error codes with this value will compare equal to |
|
The WebSocket handshake method was not GET.
Error codes with this value will compare equal to |
|
The WebSocket handshake Host field is missing.
Error codes with this value will compare equal to |
|
The WebSocket handshake Connection field is missing.
Error codes with this value will compare equal to |
|
The WebSocket handshake Connection field is missing the upgrade token.
Error codes with this value will compare equal to |
|
The WebSocket handshake Upgrade field is missing.
Error codes with this value will compare equal to |
|
The WebSocket handshake Upgrade field is missing the websocket token.
Error codes with this value will compare equal to |
|
The WebSocket handshake Sec-WebSocket-Key field is missing.
Error codes with this value will compare equal to |
|
The WebSocket handshake Sec-WebSocket-Key field is invalid.
Error codes with this value will compare equal to |
|
The WebSocket handshake Sec-WebSocket-Version field is missing.
Error codes with this value will compare equal to |
|
The WebSocket handshake Sec-WebSocket-Version field is invalid.
Error codes with this value will compare equal to |
|
The WebSocket handshake Sec-WebSocket-Accept field is missing.
Error codes with this value will compare equal to |
|
The WebSocket handshake Sec-WebSocket-Accept field is invalid.
Error codes with this value will compare equal to |
|
The WebSocket handshake was declined by the remote peer.
Error codes with this value will compare equal to |
|
The WebSocket frame contained an illegal opcode.
Error codes with this value will compare equal to |
|
The WebSocket data frame was unexpected.
Error codes with this value will compare equal to |
|
The WebSocket continuation frame was unexpected.
Error codes with this value will compare equal to |
|
The WebSocket frame contained illegal reserved bits.
Error codes with this value will compare equal to |
|
The WebSocket control frame was fragmented.
Error codes with this value will compare equal to |
|
The WebSocket control frame size was invalid.
Error codes with this value will compare equal to |
|
The WebSocket frame was unmasked.
Error codes with this value will compare equal to |
|
The WebSocket frame was masked.
Error codes with this value will compare equal to |
|
The WebSocket frame size was not canonical.
Error codes with this value will compare equal to |
|
The WebSocket frame payload was not valid utf8.
Error codes with this value will compare equal to |
|
The WebSocket close frame reason code was invalid.
Error codes with this value will compare equal to |
|
The WebSocket close frame payload size was invalid.
Error codes with this value will compare equal to |
|
The WebSocket close frame payload was not valid utf8.
Error codes with this value will compare equal to |