boostorg / beast

HTTP and WebSocket built on Boost.Asio in C++11
http://www.boost.org/libs/beast
Boost Software License 1.0
4.34k stars 634 forks source link

Implement beast::istream() #883

Open djarek opened 6 years ago

djarek commented 6 years ago

This would make the API symmetric in use. E.g.:

int i, j;
beast::istream(body) >> i;
beast::istream(body) >> j;
vinniefalco commented 6 years ago

This should be done by modifying detail::ostream_buffer to fulfill the get contract of std::basic_streambuf.

stale[bot] commented 6 years ago

This issue has been open for a while with no activity, has it been resolved?

ivan-volnov commented 3 years ago

I'm looking forward to have this feature implemented