We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97b0eb4 commit 69e2faaCopy full SHA for 69e2faa
1 file changed
include/tgbot/net/HttpClient.h
@@ -29,10 +29,16 @@ class TGBOT_API HttpClient {
29
30
std::int32_t _timeout = 25;
31
32
+ /**
33
+ * @brief Get the maximum number of makeRequest() retries before giving up and throwing an exception.
34
+ */
35
virtual int getRequestMaxRetries() const {
36
return requestMaxRetries;
37
}
38
39
40
+ * @brief Get the makeRequest() backoff duration between retries, in seconds.
41
42
virtual int getRequestBackoff() const {
43
return requestBackoff;
44
0 commit comments