Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

websocket::condition

Error conditions corresponding to sets of error codes.

Synopsis

Defined in header <boost/beast/websocket/error.hpp>

enum condition

Values

Name

Description

handshake_failed

The WebSocket handshake failed.

This condition indicates that the WebSocket handshake failed. If the corresponding HTTP response indicates the keep-alive behavior, then the handshake may be reattempted.

protocol_violation

A WebSocket protocol violation occurred.

This condition indicates that the remote peer on the WebSocket connection sent data which violated the protocol.

Description

Convenience header <boost/beast/websocket.hpp>


PrevUpHomeNext