Component evidence

Boost Beast Stream Read Operations (impl/read.hpp)

beast · include/boost/beast/core/detail/impl/read.hpp · cpp · BSL-1.0
integrationinfralang:cpptag:boosttag:async

Core implementation details for asynchronous and synchronous stream reading operations in C++ Boost Beast. Reuse when developing custom network protocols over Boost Asio.

Source preview first 800 characters · full source over MCP
// 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_DETAIL_IMPL_READ_HPP
#define BOOST_BEAST_DETAIL_IMPL_READ_HPP

#include <boost/beast/core/async_base.hpp>
#include <boost/beast/core/flat_static_buffer.hpp>
#include <boost/beast/core/read_size.hpp>
#include <boost/asio/basic_stream_socket.hpp>
#include <boost/asio/coroutine.hpp>
#include <boost/throw_exception.hpp>

namespace boost {
namespace beas

... (truncated -- full source via MCP)