middleware/proxy: favor __send__ for method dispatch
[raindrops.git] / examples / watcher_demo.ru
blob1173461645bc318a315d9319294d65f05f6c3a2f
1 # This is a snippet of the config that powers
2 # http://raindrops-demo.bogomips.org/
3 # This may be used with the packaged zbatery.conf.rb
5 # zbatery -c zbatery.conf.ru watcher_demo.ru -E none
6 require "raindrops"
7 use Raindrops::Middleware
8 listeners = %w(
9   0.0.0.0:9418
10   0.0.0.0:80
11   /tmp/.r
13 run Raindrops::Watcher.new :listeners => listeners