summaryrefslogtreecommitdiff
path: root/include/tgbot/net
diff options
context:
space:
mode:
authorEgor Pugin <egor.pugin@gmail.com>2018-07-04 19:27:20 +0300
committerEgor Pugin <egor.pugin@gmail.com>2018-07-04 19:27:20 +0300
commitac3e87822afb6065a82dfe547ecbc0c307a04147 (patch)
treeb1d3895de28ce746cf15e7378e1bd22c2fac2f0e /include/tgbot/net
parentdf3898ed79dec253b7f013ed1a6c2f1f0e98cb40 (diff)
Remove string literal.
Diffstat (limited to 'include/tgbot/net')
-rw-r--r--include/tgbot/net/HttpClient.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/tgbot/net/HttpClient.h b/include/tgbot/net/HttpClient.h
index 1375785..4378623 100644
--- a/include/tgbot/net/HttpClient.h
+++ b/include/tgbot/net/HttpClient.h
@@ -39,7 +39,7 @@ namespace TgBot {
/**
* @brief This class makes http requests.
- *
+ *
* @ingroup net
*/
class HttpClient {
@@ -67,18 +67,18 @@ public:
/**
* @brief Returns instance which lives during all application lifetime.
*/
- static BoostHttpClient& getInstance();
+ static BoostHttpClient& getInstance();
/**
* @brief Sends a request to the url.
- *
+ *
* If there's no args specified, a GET request will be sent, otherwise a POST request will be sent.
* If at least 1 arg is marked as file, the content type of a request will be multipart/form-data, otherwise it will be application/x-www-form-urlencoded.
*/
- std::string makeRequest(const Url& url, const std::vector<HttpReqArg>& args) const override;
+ std::string makeRequest(const Url& url, const std::vector<HttpReqArg>& args) const override;
private:
- mutable boost::asio::io_service _ioService;
+ mutable boost::asio::io_service _ioService;
};
#ifdef HAVE_CURL