diff options
author | Oleg Morozenkov <omorozenkov@gmail.com> | 2018-06-05 19:06:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-05 19:06:23 +0300 |
commit | 1a90b5022d47bc0059214381b74db6fae9767cef (patch) | |
tree | f88e480700cb36f8acdcfdebcbac01328f16c98d /include/tgbot/net/HttpClient.h | |
parent | 381a1cd0d949db88abd0b28bc717a8690b93ccc0 (diff) | |
parent | 0f4e792a641527aa590a1a9e23bdaad2f16ab6bc (diff) |
Merge pull request #63 from JellyBrick/master
Bot API 2.2 (Game) update / Add optimization option
Diffstat (limited to 'include/tgbot/net/HttpClient.h')
-rw-r--r-- | include/tgbot/net/HttpClient.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/tgbot/net/HttpClient.h b/include/tgbot/net/HttpClient.h index e695398..8d67891 100644 --- a/include/tgbot/net/HttpClient.h +++ b/include/tgbot/net/HttpClient.h @@ -34,19 +34,21 @@ namespace TgBot { /** - * This class makes http requests. + * @brief This class makes http requests. + * * @ingroup net */ class HttpClient { public: /** - * Returns instance which lives during all application lifetime. + * @brief Returns instance which lives during all application lifetime. */ static HttpClient& getInstance(); /** - * Sends a request to the url. + * @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. */ |