void test_websocket_client::send(std::string payload, std::function<void(std::exception_ptr)> callback) { pplx::create_task([payload, callback, this]() { m_send_function(payload, callback); }); }
pplx::task<void> test_websocket_client::send(const utility::string_t &msg) { return m_send_function(msg); }