diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-08-01 13:49:43 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-08-01 13:49:43 -0700 |
commit | 3966549e4ae209598ed56839dae9154f4615d2dc (patch) | |
tree | cfda945836403cc9a647d017266ea01489bb27d5 /lib/raindrops | |
parent | a5830080b3cf6011d737342462700f7c5819942a (diff) | |
download | raindrops-3966549e4ae209598ed56839dae9154f4615d2dc.tar.gz |
This was always supported via the HTML (browser) interface but there was no documented way of hitting it without a browser, before.
Diffstat (limited to 'lib/raindrops')
-rw-r--r-- | lib/raindrops/watcher.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/raindrops/watcher.rb b/lib/raindrops/watcher.rb index 6d965a5..66bc7b6 100644 --- a/lib/raindrops/watcher.rb +++ b/lib/raindrops/watcher.rb @@ -58,6 +58,10 @@ require "aggregate" # # e.g.: curl http://raindrops-demo.bogomips.org/queued/0.0.0.0%3A80.html # +# === POST /reset/$LISTENER +# +# Resets the active and queued statistics for the given listener. +# # === GET /tail/$LISTENER.txt?active_min=1&queued_min=1 # # Streams chunked a response to the client. |