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 a snapshot of the master branch, built from commit b5c99c1c90.
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

PrevUpHomeNext