Guaranteed ASIHTTPRequests
Ever needed to use ASIHTTPRequest in combination with guaranteed delivery? (i.e. making sure the HTTP call is performed, even though the network might be down at the moment you fire the initial request)
Here's the solution! I've created a small extension on ASIHTTPRequest (available on Github as GuaranteedASIHTTPRequest) which implements exactly this. Of course, for guaranteed delivery to work, you should not set a completionBlock not failureBlock (as these blocks of code cannot be stored anywhere on disk). But if you need to fire some HTTP calls without requiring the response (e.g. report some status info to a server), this is exactly what you'll need.
You're welcome ;)
- Log in to post comments