-
Notifications
You must be signed in to change notification settings - Fork 8
body_read_stream implementation - WORK IN PROGRESS #57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
body_read_stream implementation - WORK IN PROGRESS #57
Conversation
|
||
#include <boost/http_io/detail/config.hpp> | ||
#include <boost/http_proto/request_parser.hpp> | ||
#include <boost/http_proto/response_parser.hpp> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should be able to get away with just parser.hpp instead of these other two
#include <boost/http_proto/response_parser.hpp> | ||
#include <boost/asio/async_result.hpp> | ||
#include <boost/system/error_code.hpp> | ||
#include <boost/system/result.hpp> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think result.hpp is going to help?
|
||
template<class UnderlyingAsyncReadStream> | ||
body_read_stream<UnderlyingAsyncReadStream>::body_read_stream( | ||
const rts::context& rts_ctx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think the context is needed
namespace http_io { | ||
|
||
template<class UnderlyingAsyncReadStream> | ||
class body_read_stream { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to self: add get_executor()
|
||
namespace detail { | ||
|
||
template <class MutableBufferSequence, class UnderlyingAsyncReadStream> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe just Stream
would suffice instead of UnderlyingAsyncReadStreamToUseForTheNextLayer?
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 |
Implementation for the body_read_stream part of #55