...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Set timeout service options in an execution context.
Defined in header <boost/beast/experimental/core/timeout_service.hpp>
void set_timeout_service_options( boost::asio::io_context& ctx, std::chrono::seconds interval);
This changes the time interval for all timeouts associated with the execution context. The option must be set before any timeout objects are constructed.
Name |
Description |
---|---|
|
The execution context. |
|
The approximate amount of time until a timeout occurs. |