Skip to content

Commit

Permalink
Godoc update for #436
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevatkm committed Oct 25, 2021
1 parent 0c9388b commit 5e13752
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions request.go
Expand Up @@ -599,6 +599,8 @@ func (r *Request) SetCookies(rs []*http.Cookie) *Request {
// The request will retry if any of the functions return true and error is nil.
//
// Note: These retry conditions are checked before all retry conditions of the client.
//
// Since v2.7.0
func (r *Request) AddRetryCondition(condition RetryConditionFunc) *Request {
r.retryConditions = append(r.retryConditions, condition)
return r
Expand Down

0 comments on commit 5e13752

Please sign in to comment.