From 69e2faa1828eb9c73b592faa69a64ea6c98ec6cf Mon Sep 17 00:00:00 2001 From: Dmitry Mikushin Date: Sun, 12 Feb 2023 22:42:03 +0100 Subject: Adding briefs for the new functions --- include/tgbot/net/HttpClient.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/tgbot/net/HttpClient.h b/include/tgbot/net/HttpClient.h index 90b93dd..9b93328 100644 --- a/include/tgbot/net/HttpClient.h +++ b/include/tgbot/net/HttpClient.h @@ -29,10 +29,16 @@ public: std::int32_t _timeout = 25; + /** + * @brief Get the maximum number of makeRequest() retries before giving up and throwing an exception. + */ virtual int getRequestMaxRetries() const { return requestMaxRetries; } + /** + * @brief Get the makeRequest() backoff duration between retries, in seconds. + */ virtual int getRequestBackoff() const { return requestBackoff; } -- cgit v1.2.3