简体   繁体   English

用ruby编写的文件下载器

[英]File downloader written in ruby

使用ruby编程语言制作文件下载器需要哪些API?

The namespace Net::HTTP contains every usefull tools for HTTP requests in ruby. 命名空间Net :: HTTP包含用于ruby中HTTP请求的所有有用工具。

The documentation isn't very clear but it's very useful : http://ruby-doc.org/stdlib/libdoc/net/http/rdoc/index.html 该文档不是很清楚,但是非常有用: http : //ruby-doc.org/stdlib/libdoc/net/http/rdoc/index.html

I found this example on google : http://snippets.dzone.com/posts/show/2469 我在google上找到了以下示例: http : //snippets.dzone.com/posts/show/2469

Net::HTTP always done the job for me, i hope it's will be the same for you. Net :: HTTP始终为我完成这项工作,希望对您来说一样。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM