aria2_driver-源码

上传者: 42144707 | 上传时间: 2021-06-07 20:03:01 | 文件大小: 21KB | 文件类型: ZIP
Aria2Driver 通过api管理aria2c的简单api 地位 安装 将此行添加到应用程序的 Gemfile 中: gem 'aria2_driver' 然后执行: $ bundle 或者自己安装: $ gem install aria2_driver 用法 简单的 aria2 客户端初始化 aria2 = Aria2Driver :: JsonRpc :: Client . new 'hostname' 使用前一行代码,您可以创建一个客户端,该客户端将向运行在主机名服务器上的aria2c下载程序发出请求, aria2c接受使用默认http方案的端口80连接。 按原样创建的客户端将有一个自生成的客户端 ID(使用 SecureRandom)。 aria2 = Aria2Driver :: JsonRpc :: Client . new 'hostname' ,

文件下载

资源详情

[{"title":"( 36 个子文件 21KB ) aria2_driver-源码","children":[{"title":"aria2_driver-master","children":[{"title":"lib","children":[{"title":"aria2_driver.rb <span style='color:#111;'> 98B </span>","children":null,"spread":false},{"title":"aria2_driver","children":[{"title":"json_rpc","children":[{"title":"response_exception.rb <span style='color:#111;'> 161B </span>","children":null,"spread":false},{"title":"connection.rb <span style='color:#111;'> 467B </span>","children":null,"spread":false},{"title":"client.rb <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"request.rb <span style='color:#111;'> 541B </span>","children":null,"spread":false},{"title":"error.rb <span style='color:#111;'> 266B </span>","children":null,"spread":false},{"title":"response.rb <span style='color:#111;'> 775B </span>","children":null,"spread":false}],"spread":true},{"title":"version.rb <span style='color:#111;'> 43B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Gemfile <span style='color:#111;'> 160B </span>","children":null,"spread":false},{"title":"aria2_driver.gemspec <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"spec","children":[{"title":"spec_helper.rb <span style='color:#111;'> 418B </span>","children":null,"spread":false},{"title":"aria2_driver","children":[{"title":"json_rpc","children":[{"title":"error_spec.rb <span style='color:#111;'> 689B </span>","children":null,"spread":false},{"title":"response_spec.rb <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"connection_spec.rb <span style='color:#111;'> 886B </span>","children":null,"spread":false},{"title":"client_spec.rb <span style='color:#111;'> 17.75KB </span>","children":null,"spread":false},{"title":"request_spec.rb <span style='color:#111;'> 762B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"support","children":[{"title":"mocks","children":[{"title":"json_rpc","children":[{"title":"purge_download_result.rb <span style='color:#111;'> 360B </span>","children":null,"spread":false},{"title":"remove_download_result.rb <span style='color:#111;'> 363B </span>","children":null,"spread":false},{"title":"pause.rb <span style='color:#111;'> 332B </span>","children":null,"spread":false},{"title":"force_remove.rb <span style='color:#111;'> 350B </span>","children":null,"spread":false},{"title":"remove.rb <span style='color:#111;'> 335B </span>","children":null,"spread":false},{"title":"request.rb <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false},{"title":"force_pause.rb <span style='color:#111;'> 347B </span>","children":null,"spread":false},{"title":"tell_status.rb <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"get_uris.rb <span style='color:#111;'> 446B </span>","children":null,"spread":false},{"title":"response.rb <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"get_global_stat.rb <span style='color:#111;'> 595B </span>","children":null,"spread":false},{"title":"get_version.rb <span style='color:#111;'> 632B </span>","children":null,"spread":false},{"title":"add_uri.rb <span style='color:#111;'> 335B </span>","children":null,"spread":false},{"title":"get_files.rb <span style='color:#111;'> 759B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"Rakefile <span style='color:#111;'> 161B </span>","children":null,"spread":false},{"title":".travis.yml <span style='color:#111;'> 693B </span>","children":null,"spread":false},{"title":"LICENSE.md <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.10KB </span>","children":null,"spread":false},{"title":".yardopts <span style='color:#111;'> 34B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 134B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明