Skip to content

Commit 69e2faa

Browse files
committed
Adding briefs for the new functions
1 parent 97b0eb4 commit 69e2faa

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

include/tgbot/net/HttpClient.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,16 @@ class TGBOT_API HttpClient {
2929

3030
std::int32_t _timeout = 25;
3131

32+
/**
33+
* @brief Get the maximum number of makeRequest() retries before giving up and throwing an exception.
34+
*/
3235
virtual int getRequestMaxRetries() const {
3336
return requestMaxRetries;
3437
}
3538

39+
/**
40+
* @brief Get the makeRequest() backoff duration between retries, in seconds.
41+
*/
3642
virtual int getRequestBackoff() const {
3743
return requestBackoff;
3844
}

0 commit comments

Comments
 (0)