开发者

ASIHTTPRequest resume request after losing internet connection

开发者 https://www.devze.com 2023-04-06 00:02 出处:网络
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

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

精彩评论

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