开发者

ASIHTTPRequest resume request after losing internet connection

How to handle losing of internet connection? I'm using ASIHTTPReqeust to download file, and i want to handle when my internet connection is available and not, for resuming download. Who did something like that? When i disable wi-fi while downloading file, ASIHTTPReqeustDelegate calls method requestFaliled:(ASIHTTPRequest *) request开发者_开发问答; How to start download after enabling internet?

P.S. I download files asynchronously ([request startAsynchronous];)


The official documentation covers this:

http://allseeing-i.com/ASIHTTPRequest/How-to-use#resuming_interrupted_downloads

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜