Refactor websocket::stream operations

This commit is contained in:
Vinnie Falco
2019-01-20 12:25:30 -08:00
parent 6af6a8da99
commit dfd08bf6ae
25 changed files with 1103 additions and 914 deletions
-20
View File
@@ -605,25 +605,6 @@ public:
}
}
void
testContHook()
{
struct handler
{
void operator()(error_code) {}
};
char buf[32];
stream<test::stream> ws{ioc_};
stream<test::stream>::write_some_op<
net::const_buffer,
handler> op{handler{}, ws, true,
net::const_buffer{
buf, sizeof(buf)}};
using net::asio_handler_is_continuation;
asio_handler_is_continuation(&op);
}
void
testMoveOnly()
{
@@ -669,7 +650,6 @@ public:
testWriteSuspend();
testAsyncWriteFrame();
testIssue300();
testContHook();
testMoveOnly();
}
};