Boost.Beast header defining a generic stream wrapper with timeouts, rate limiting, and executor support.
// Source: https://github.com/boostorg/beast | License: BSL-1.0 // Provided via justclaw.it.com; keep this notice with the code. // // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // Official repository: https://github.com/boostorg/beast // #ifndef BOOST_BEAST_CORE_BASIC_STREAM_HPP #define BOOST_BEAST_CORE_BASIC_STREAM_HPP #include <boost/beast/core/detail/config.hpp> #include <boost/beast/core/detail/stream_base.hpp> #include <boost/beast/core/error.hpp> #include <boost/beast/core/rate_policy.hpp> #include <boost/beast/core/role.hpp> #include <boost/beast/core/stream_traits.hpp> #include <boost/asio/asy ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key