# File lib/rack/handler/thin.rb, line 8
8: defself.run(app, options={})
9: server = ::Thin::Server.new(options[:Host] ||'0.0.0.0',
10: options[:Port] ||8080,
11: app)
12: yieldserverifblock_given?
13: server.start
14: end
valid_options()click to toggle source
# File lib/rack/handler/thin.rb, line 16
16: defself.valid_options
17: {
18: "Host=HOST" =>"Hostname to listen on (default: localhost)",
19: "Port=PORT" =>"Port to listen on (default: 8080)",
20: }
21: end