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::stream_base::timeout

Stream option to control the behavior of websocket timeouts.

Synopsis

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

struct timeout
Static Member Functions

Name

Description

suggested

Construct timeout settings with suggested values for a role.

Data Members

Name

Description

handshake_timeout

Time limit on handshake, accept, and close operations:

idle_timeout

The time limit after which a connection is considered idle.

keep_alive_pings

Automatic ping setting.

Description

Timeout features are available for asynchronous operations only.


PrevUpHomeNext