boost::http_io::async_read_some

Read some of the message body from the stream

Synopsis

Declared in header <boost/http_io/read.hpp>

template<
    class AsyncReadStream,
    typename CompletionToken = boost::asio::default_completion_token<AsyncReadStream::executor_type>::type>
auto
async_read_some(
    AsyncReadStream& s,
    http_proto::parser& pr,
    CompletionToken&& token);
cpp

Exceptions

Name Thrown on

std::logic_error

pr.got_header() == false