You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
auto websocket_client = create_test_websocket_client(
900
+
/* receive function */ [](std::function<void(std::string, std::exception_ptr)> callback) { callback("", std::make_exception_ptr(std::runtime_error("should not be invoked"))); },
901
+
/* send function */ [](const std::string&, std::function<void(std::exception_ptr)> callback) { callback(std::make_exception_ptr(std::runtime_error("should not be invoked"))); },
902
+
/* connect function */[&query_string](const std::string& url, std::function<void(std::exception_ptr)> callback)
auto websocket_client = create_test_websocket_client(
947
+
/* receive function */ [](std::function<void(std::string, std::exception_ptr)> callback) { callback("", std::make_exception_ptr(std::runtime_error("should not be invoked"))); },
948
+
/* send function */ [](const std::string&, std::function<void(std::exception_ptr)> callback) { callback(std::make_exception_ptr(std::runtime_error("should not be invoked"))); },
949
+
/* connect function */[](const std::string& url, std::function<void(std::exception_ptr)> callback)
950
+
{
951
+
callback(nullptr);
952
+
});
953
+
954
+
auto http_client = std::make_unique<test_http_client>([](const std::string& url, http_request)
0 commit comments