...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
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.