Skip to content

Commit 5e13752

Browse files
committed
Godoc update for #436
1 parent 0c9388b commit 5e13752

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

request.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,8 @@ func (r *Request) SetCookies(rs []*http.Cookie) *Request {
599599
// The request will retry if any of the functions return true and error is nil.
600600
//
601601
// Note: These retry conditions are checked before all retry conditions of the client.
602+
//
603+
// Since v2.7.0
602604
func (r *Request) AddRetryCondition(condition RetryConditionFunc) *Request {
603605
r.retryConditions = append(r.retryConditions, condition)
604606
return r

0 commit comments

Comments
 (0)