File tree Expand file tree Collapse file tree
include/boost/http/server Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ set(BOOST_HTTP_DEPENDENCIES
5858 Boost::capy
5959 Boost::config
6060 Boost::core
61+ Boost::corosio
6162 Boost::json
6263 Boost::mp11
6364 Boost::static_assert
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ lib boost_http
4343 : http_sources
4444 : requirements
4545 <library>/boost//capy
46+ <library>/boost/corosio//boost_corosio
4647 <library>/boost/json//boost_json/<warnings-as-errors>off
4748 <library>/boost//url
4849 <include>../
@@ -51,6 +52,7 @@ lib boost_http
5152 <target-os>darwin:<linkflags>"-framework Security"
5253 : usage-requirements
5354 <library>/boost//capy
55+ <library>/boost/corosio//boost_corosio
5456 <library>/boost/json//boost_json/<warnings-as-errors>off
5557 <library>/boost//url
5658 <target-os>windows:<library>bcrypt_sys
Original file line number Diff line number Diff line change 1212
1313#include < boost/http/detail/config.hpp>
1414#include < boost/http/server/router_types.hpp>
15- #include < boost/capy/any_bufref .hpp>
15+ #include < boost/corosio/io_buffer_param .hpp>
1616#include < boost/capy/buffers.hpp>
1717#include < boost/capy/datastore.hpp>
1818#include < boost/capy/task.hpp>
@@ -242,7 +242,7 @@ struct BOOST_HTTP_SYMBOL_VISIBLE
242242 route_task
243243 write (Buffers const & buffers)
244244 {
245- return write_impl (capy::any_bufref (buffers));
245+ return write_impl (corosio::io_buffer_param (buffers));
246246 }
247247
248248 /* * Complete a streaming response.
@@ -284,7 +284,7 @@ struct BOOST_HTTP_SYMBOL_VISIBLE
284284
285285 @return A task that completes when the write is done.
286286 */
287- virtual route_task write_impl (capy::any_bufref buffers) = 0;
287+ virtual route_task write_impl (corosio::io_buffer_param buffers) = 0;
288288};
289289
290290} // http
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ struct test_route_params : route_params
2424 co_return {};
2525 }
2626
27- route_task write_impl (capy::any_bufref ) override
27+ route_task write_impl (corosio::io_buffer_param ) override
2828 {
2929 co_return {};
3030 }
You can’t perform that action at this time.
0 commit comments