23 #ifndef TGBOT_HTTPCLIENT_H 24 #define TGBOT_HTTPCLIENT_H 28 #include <boost/asio.hpp> 55 std::string
makeRequest(
const Url& url,
const std::vector<HttpReqArg>& args);
58 boost::asio::io_service _ioService;
63 #endif //TGBOT_HTTPCLIENT_H
This class makes http requests.
This class parses a string with the url.
static HttpClient & getInstance()
Returns instance which lives during all application lifetime.
std::string makeRequest(const Url &url, const std::vector< HttpReqArg > &args)
Sends a request to the url.