forked from boostorg/beast
Refactor websocket::stream operations
This commit is contained in:
@@ -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();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user