diff options
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. */ |