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
@@ -608,21 +608,6 @@ public:
});
}
void
testContHook()
{
struct handler
{
void operator()(error_code) {}
};
stream<test::stream> ws{ioc_};
stream<test::stream>::close_op<handler> op{
handler{}, ws, {}};
using net::asio_handler_is_continuation;
asio_handler_is_continuation(&op);
}
void
testMoveOnly()
{
@@ -660,7 +645,6 @@ public:
{
testClose();
testSuspend();
testContHook();
testMoveOnly();
testAsioHandlerInvoke();
}