5 #include "httplib/httplib.h" 48 Client&
get(std::string url, std::function<void(json&)> handler);
57 std::pair<std::string,std::string>
url_parts(std::string url);
64 void _get_thread(std::string url, std::function<
void(json&)> handler);
65 const std::shared_ptr<httplib::Response> _get_aux(std::string url);
66 std::vector<std::tuple<json, std::function<void(json&)>>> _responses;
int num_responses() const
std::pair< std::string, std::string > url_parts(std::string url)
An HTTP client for connecting to json services.
Client & process_responses()