void test_websocket_client::stop(std::function<void(std::exception_ptr)> callback)
{
    pplx::create_task([callback, this]()
        {
            m_close_function(callback);
        });
}
Esempio n. 2
0
pplx::task<void> test_websocket_client::close()
{
    return m_close_function();
}