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 2025. The current version is 1.90.0.
StreamType represents the
transport protocol type used to transfer stream of bytes.
StreamType should meet the
AsyncStream
concept.
It should follow Asio's layered stream model by having a lowest_layer_type
member type, and a lowest_layer
member function, returing a lowest_layer_type&. The lowest_layer_type
should inherit from boost::asio::ip::tcp::socket.
Additionally, it should have an overload of async_shutdown function that is discoverable via argument-dependent lookup (ADL).
The types boost::asio::ip::tcp::socket,
boost::asio::ssl::stream<
and boost::asio::ip::tcp::socket>boost::beast::websocket::stream<NextLayer>
meet these requirements.