From a3cf985b82f5b252434c89d7e0ec6277ac8fe596 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 17 Mar 2011 02:47:47 +0000 Subject: rdoc: document the demo URLs --- lib/raindrops/middleware.rb | 10 ++++++++++ lib/raindrops/watcher.rb | 8 ++++++++ 2 files changed, 18 insertions(+) (limited to 'lib') diff --git a/lib/raindrops/middleware.rb b/lib/raindrops/middleware.rb index f75af0b..a411de7 100644 --- a/lib/raindrops/middleware.rb +++ b/lib/raindrops/middleware.rb @@ -59,6 +59,16 @@ require 'raindrops' # * active - total number of active clients on that listener # * queued - total number of queued (pre-accept()) clients on that listener # +# = Demo Server +# +# There is a server running this middleware (and Watcher) at +# http://raindrops-demo.bogomips.org/_raindrops +# +# Also check out the Watcher demo at http://raindrops-demo.bogomips.org/ +# +# The demo server is only limited to 30 users, so be sure not to abuse it +# by using the /tail/ endpoint too much. +# class Raindrops::Middleware attr_accessor :app, :stats, :path, :tcp, :unix # :nodoc: diff --git a/lib/raindrops/watcher.rb b/lib/raindrops/watcher.rb index 877f80a..f289970 100644 --- a/lib/raindrops/watcher.rb +++ b/lib/raindrops/watcher.rb @@ -86,6 +86,14 @@ require "aggregate" # - X-Outliers-Low - number of low outliers (hopefully many!) # - X-Outliers-High - number of high outliers (hopefully zero!) # +# = Demo Server +# +# There is a server running this app at http://raindrops-demo.bogomips.org/ +# The Raindrops::Middleware demo is also accessible at +# http://raindrops-demo.bogomips.org/_raindrops +# +# The demo server is only limited to 30 users, so be sure not to abuse it +# by using the /tail/ endpoint too much. class Raindrops::Watcher # :stopdoc: attr_reader :snapshot -- cgit v1.2.3-24-ge0c7