forked from boostorg/beast
Update for Net-TS Asio (API Change):
fix #769 The following classes are removed: * handler_type * async_result * async_completion * is_dynamic_buffer * is_const_buffer_sequence * is_mutable_buffer_sequence * handler_alloc Actions Required: * Use BOOST_ASIO_HANDLER_TYPE instead of handler_type * Use BOOST_ASIO_INITFN_RESULT_TYPE instead of async_result * Use boost::asio::async_completion * Use boost::asio::is_dynamic_buffer * Use boost::asio::is_const_buffer_sequence * Use boost::asio::is_mutable_buffer_sequence * boost::asio::associated_allocator_t replaces handler_alloc
This commit is contained in:
@@ -22,7 +22,7 @@ public:
|
||||
void
|
||||
testOptions()
|
||||
{
|
||||
stream<test::stream> ws{ios_};
|
||||
stream<test::stream> ws{ioc_};
|
||||
ws.auto_fragment(true);
|
||||
ws.write_buffer_size(2048);
|
||||
ws.binary(false);
|
||||
@@ -40,7 +40,7 @@ public:
|
||||
auto const bad =
|
||||
[&](permessage_deflate const& pmd)
|
||||
{
|
||||
stream<test::stream> ws{ios_};
|
||||
stream<test::stream> ws{ioc_};
|
||||
try
|
||||
{
|
||||
ws.set_option(pmd);
|
||||
@@ -105,7 +105,7 @@ public:
|
||||
run() override
|
||||
{
|
||||
BOOST_STATIC_ASSERT(std::is_constructible<
|
||||
stream<test::stream>, boost::asio::io_service&>::value);
|
||||
stream<test::stream>, boost::asio::io_context&>::value);
|
||||
|
||||
BOOST_STATIC_ASSERT(std::is_move_constructible<
|
||||
stream<test::stream>>::value);
|
||||
|
||||
Reference in New Issue
Block a user