【文件属性】:
文件名称:deelay-ruby:延迟HTTP资源的代理-已弃用
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-15 23:26:49
Ruby
该工具不再维护。 新版本在Node.js中实现,并且可以从。
HTTP资源的内联延迟代理
缓慢的加载资源(图像,脚本等)可能会破坏您的代码。 测试它以模拟应用于特定资源的意外网络状况。
安装
$ gem install deelay
$ deelay
== Sinatra/1.3.3 has taken the stage on 4567 for development with backup from Thin
Thin web server (v1.4.1 codename Chromeo)
Maximum connections set to 1024
Listening on 0.0.0.0:4567, CTRL+C to stop
用法示例
curl localhost:4567/1000/http://mysite.com/image.gif
测验
bundle exec r
【文件预览】:
deelay-ruby-master
----.gitignore(43B)
----config.ru(60B)
----LICENSE.md(1KB)
----bin()
--------deelay(55B)
----.travis.yml(15B)
----.ruby-version(6B)
----deelay.gemspec(769B)
----README.md(1KB)
----lib()
--------deelay.rb(131B)
--------deelay()
----Gemfile(161B)
----Rakefile(155B)
----test()
--------test_deelay_app.rb(2KB)