Sha256: ed85227b360b8262973dc62c0aba8a6a4fbc53259e5c3277e3c0d59b96b73e03
Contents?: true
Size: 243 Bytes
Versions: 3
Compression:
Stored size: 243 Bytes
Contents
require "rubygems" require "rack" app = lambda { p [:serving, ARGV[0]] sleep(ARGV[1].to_i) [200, {"Content-Type" => "text/plain"}, ["hello world: #{ARGV[1]}"]] } Rack::Handler::Mongrel.run(app, {:Host => "0.0.0.0", :Port => ARGV[0]})
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
em-proxy-0.1.3 | examples/appserver.rb |
em-proxy-0.1.2 | examples/appserver.rb |
em-proxy-0.1.1 | examples/appserver.rb |