Example #1
0
inline
void
call_teardown(Socket& socket, error_code& ec)
{
    using websocket::teardown;
    teardown(websocket::teardown_tag{}, socket, ec);
}
Example #2
0
inline
void
call_teardown(Socket& socket, websocket::error_code& ec)
{
    using websocket::teardown;
    teardown(socket, ec);
}
Example #3
0
inline
void
call_async_teardown(Socket& socket, TeardownHandler&& handler)
{
    using websocket::async_teardown;
    async_teardown(websocket::teardown_tag{}, socket,
        std::forward<TeardownHandler>(handler));
}