We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c9388b commit 5e13752Copy full SHA for 5e13752
request.go
@@ -599,6 +599,8 @@ func (r *Request) SetCookies(rs []*http.Cookie) *Request {
599
// The request will retry if any of the functions return true and error is nil.
600
//
601
// Note: These retry conditions are checked before all retry conditions of the client.
602
+//
603
+// Since v2.7.0
604
func (r *Request) AddRetryCondition(condition RetryConditionFunc) *Request {
605
r.retryConditions = append(r.retryConditions, condition)
606
return r
0 commit comments