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
Should the user be able to configure what counts as a failure, a request that can be retried and a successful request? And how should this be specified? Just http status codes, specific errors from Apples NSURLErrorDomain?
The text was updated successfully, but these errors were encountered:
One way is to have a delegate that gets the NSError from the request and then the delegate can choose to keep the request in the queue to retry or remove it to continue with the next one. For example:
We can let the user specify this on a per model class basis or we can let them configure it generally. Depends on the needs. Maybe it is nicer to handle it in each class. Then you can handle any specific errors there?
Should the user be able to configure what counts as a failure, a request that can be retried and a successful request? And how should this be specified? Just http status codes, specific errors from Apples NSURLErrorDomain?
The text was updated successfully, but these errors were encountered: