Skip to content

Commit

Permalink
Godoc update for go-resty#436
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevatkm authored and hurracrane committed May 17, 2022
1 parent 61aee8a commit 57c6b82
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 57c6b82

Please sign in to comment.