about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-08-01 13:49:43 -0700
committerEric Wong <normalperson@yhbt.net>2011-08-01 13:49:43 -0700
commit3966549e4ae209598ed56839dae9154f4615d2dc (patch)
treecfda945836403cc9a647d017266ea01489bb27d5
parenta5830080b3cf6011d737342462700f7c5819942a (diff)
downloadraindrops-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.
-rw-r--r--lib/raindrops/watcher.rb4
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.