1#ifndef TGBOT_CURLHTTPCLIENT_H 
    2#define TGBOT_CURLHTTPCLIENT_H 
   17#include <unordered_map> 
   38    std::string 
makeRequest(
const Url& url, 
const std::vector<HttpReqArg>& args) 
const override;
 
 
std::unordered_map< std::thread::id, CURL * > curlHandles
Raw curl handles, each thread has its own handle.
std::mutex curlHandlesMutex
Lock for curlHandles access.
std::string makeRequest(const Url &url, const std::vector< HttpReqArg > &args) const override
Sends a request to the url.
~CurlHttpClient() override
This class makes http requests.
This class parses a string with the url.