You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h4align="center">Resty Communication Channels</h4>
@@ -13,7 +13,7 @@
13
13
14
14
## News
15
15
16
-
* v2.11.0 [released](https://github.com/go-resty/resty/releases/tag/v2.11.0) and tagged on Dec 27, 2023.
16
+
* v2.12.0 [released](https://github.com/go-resty/resty/releases/tag/v2.12.0) and tagged on Mar 17, 2024.
17
17
* v2.0.0 [released](https://github.com/go-resty/resty/releases/tag/v2.0.0) and tagged on Jul 16, 2019.
18
18
* v1.12.0 [released](https://github.com/go-resty/resty/releases/tag/v1.12.0) and tagged on Feb 27, 2019.
19
19
* v1.0 released and tagged on Sep 25, 2017. - Resty's first version was released on Sep 15, 2015 then it grew gradually as a very handy and helpful library. Its been a two years since first release. I'm very thankful to Resty users and its [contributors](https://github.com/go-resty/resty/graphs/contributors).
@@ -702,8 +702,8 @@ client.
702
702
})
703
703
```
704
704
705
-
By default, resty will retry requests that return a non-nil error during execution.
706
-
Therefore, the above setup will result in resty retrying requests with non-nil errors up to 3 times,
705
+
By default, resty will retry requests that return a non-nil error during execution.
706
+
Therefore, the above setup will result in resty retrying requests with non-nil errors up to 3 times,
707
707
with the delay increasing after each attempt.
708
708
709
709
You can optionally provide client with [custom retry conditions](https://pkg.go.dev/github.com/go-resty/resty/v2#RetryConditionFunc):
@@ -739,7 +739,7 @@ client.AddRetryCondition(
739
739
)
740
740
```
741
741
742
-
Multiple retry conditions can be added.
742
+
Multiple retry conditions can be added.
743
743
Note that if multiple conditions are specified, a retry will occur if any of the conditions are met.
744
744
745
745
It is also possible to use `resty.Backoff(...)` to get arbitrary retry scenarios
0 commit comments