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
it looks like if i return true from my APIClientDelegate it'll retry forever.
where is the "only one retry attempt" enforcement done? and what do i do if i want to retry once immediately, and then again after 5 seconds, for example
The text was updated successfully, but these errors were encountered:
I think, in the delegate you need to check whether it's your 1st or 2nd attempt etc.
I think an exponential decay behavior should be either incorporated in the library or be built on top of this library, i.e. a caller of the HTTP client waiting and issuing the request again.
"Gets called after a networking failure. Only one retry attempt is allowed." – seems like it's outdated. It was probably written before the attempts parameter was added.
i don't understand the docstring next to this function. this is the implementation of the function
it looks like if i return true from my
APIClientDelegate
it'll retry forever.where is the "only one retry attempt" enforcement done? and what do i do if i want to retry once immediately, and then again after 5 seconds, for example
The text was updated successfully, but these errors were encountered: