Class: Rack::Handler::ControlTower
- Inherits:
-
Object
- Object
- Rack::Handler::ControlTower
- Defined in:
- lib/rack/handler/control_tower.rb
Class Method Summary collapse
Class Method Details
.run(app, options = {}) {|server| ... } ⇒ Object
9 10 11 12 13 14 |
# File 'lib/rack/handler/control_tower.rb', line 9 def self.run(app, ={}) app = Rack::Chunked.new(Rack::ContentLength.new(app)) server = ::ControlTower::Server.new(app, ) yield server if block_given? server.start end |