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 an older version of Boost and was released in 2023. The current version is 1.89.0.
Stream option to control the behavior of websocket timeouts.
Defined in header <boost/beast/websocket/stream_base.hpp>
struct timeout
|
Name |
Description |
|---|---|
|
Construct timeout settings with suggested values for a role. |
|
Name |
Description |
|---|---|
|
Time limit on handshake, accept, and close operations: |
|
|
The time limit after which a connection is considered idle. |
|
|
Automatic ping setting. |
Timeout features are available for asynchronous operations only.