Refactor websocket::stream operations

This commit is contained in:
Vinnie Falco
2019-02-18 12:18:27 -08:00
parent 6af6a8da99
commit dfd08bf6ae
25 changed files with 1103 additions and 914 deletions
-16
View File
@@ -423,21 +423,6 @@ public:
}
}
void
testContHook()
{
struct handler
{
void operator()(error_code) {}
};
stream<test::stream> ws{ioc_};
stream<test::stream>::ping_op<handler> op{
handler{}, ws, detail::opcode::ping, {}};
using net::asio_handler_is_continuation;
asio_handler_is_continuation(&op);
}
void
testMoveOnly()
{
@@ -475,7 +460,6 @@ public:
{
testPing();
testSuspend();
testContHook();
testMoveOnly();
testAsioHandlerInvoke();
}