开发者

Grab page in chunks

I am developing an application which needs to grab a web page and then parse it. I need to know is there any way to grab开发者_高级运维 the page in chunks. I mean page could be divided and downloaded in parallel chunks and at the end I could get single a page. So that time can be saved.


HTTP 1.1 supports the Range header that allows you to download a resource in chunks. This is probably what you want. The HttpWebRequest object offers the AddRange method that allows you to do this.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜