body_read_stream implementation - WORK IN PROGRESS#57
body_read_stream implementation - WORK IN PROGRESS#57MungoG wants to merge 21 commits intocppalliance:developfrom
Conversation
|
An automated preview of the documentation is available at https://57.http-io.prtest2.cppalliance.org/index.html If more commits are pushed to the pull request, the docs will rebuild at the same URL. 2025-10-20 18:03:41 UTC |
|
An automated preview of the documentation is available at https://57.beast2.prtest3.cppalliance.org/index.html If more commits are pushed to the pull request, the docs will rebuild at the same URL. 2025-10-22 09:45:21 UTC |
| void(system::error_code, std::size_t)) CompletionToken> | ||
| BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(CompletionToken, | ||
| void(system::error_code, std::size_t)) | ||
| async_read( |
There was a problem hiding this comment.
If this class needs to satisfy Asio's AsyncReadStream type requirements, then the async_read function is unnecessary.
There was a problem hiding this comment.
all overloads of the free function asio::async_read will work perfectly fine with this class if it meets the requirements of AsyncReadStream :
https://www.boost.org/doc/libs/master/doc/html/boost_asio/reference/async_read.html
|
An automated preview of the documentation is available at https://57.beast2.prtest3.cppalliance.org/index.html If more commits are pushed to the pull request, the docs will rebuild at the same URL. 2025-11-05 13:25:41 UTC |
| #include <boost/http_proto/parser.hpp> | ||
| #include <boost/system/error_code.hpp> | ||
|
|
||
| #include <iostream> |
| #include <boost/asio/io_context.hpp> | ||
| #include <boost/asio/read.hpp> | ||
| #include <boost/buffers/buffer.hpp> | ||
| #include <boost/buffers/circular_buffer.hpp> |
Implementation for the body_read_stream part of #55