Exemplo n.º 1
0
inline
void
call_teardown(Socket& socket, error_code& ec)
{
    using websocket::teardown;
    teardown(websocket::teardown_tag{}, socket, ec);
}
Exemplo n.º 2
0
inline
void
call_teardown(Socket& socket, websocket::error_code& ec)
{
    using websocket::teardown;
    teardown(socket, ec);
}
Exemplo n.º 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));
}