Module: Mongrel

### Home Classes Methods

### In Files

- lib/mongrel/camping.rb
- lib/mongrel/cgi.rb
- lib/mongrel/command.rb
- lib/mongrel/configurator.rb
- lib/mongrel/const.rb
- lib/mongrel/gems.rb
- lib/mongrel/handlers.rb
- lib/mongrel/header_out.rb
- lib/mongrel/http_request.rb
- lib/mongrel/http_response.rb
- lib/mongrel/rails.rb
- lib/mongrel/stats.rb
- lib/mongrel/uri_classifier.rb
- lib/mongrel.rb
- ext/http11/http11.c

### Namespace

- MODULE Mongrel::Camping
- MODULE Mongrel::Command
- MODULE Mongrel::Const
- MODULE Mongrel::Gems
- MODULE Mongrel::HttpHandlerPlugin
- MODULE Mongrel::Rails
- CLASS Mongrel::CGIWrapper
- CLASS Mongrel::Configurator
- CLASS Mongrel::DeflateFilter
- CLASS Mongrel::DirHandler
- CLASS Mongrel::Error404Handler
- CLASS Mongrel::HeaderOut
- CLASS Mongrel::HttpHandler
- CLASS Mongrel::HttpParams
- CLASS Mongrel::HttpParser
- CLASS Mongrel::HttpParserError
- CLASS Mongrel::HttpRequest
- CLASS Mongrel::HttpResponse
- CLASS Mongrel::HttpServer
- CLASS Mongrel::RedirectHandler
- CLASS Mongrel::StatisticsFilter
- CLASS Mongrel::Stats
- CLASS Mongrel::StatusHandler
- CLASS Mongrel::StopServer
- CLASS Mongrel::TimeoutError
- CLASS Mongrel::URIClassifier

### Files

- CHANGELOG
- COPYING
- LICENSE
- README
- Makefile

### Class/Module Index

Quicksearch

- Mongrel
- Mongrel::CGIWrapper
- Mongrel::Camping
- Mongrel::Camping::CampingHandler
- Mongrel::Command
- Mongrel::Command::Base
- Mongrel::Command::Registry
- Mongrel::Configurator
- Mongrel::Const
- Mongrel::DeflateFilter
- Mongrel::DirHandler
- Mongrel::Error404Handler
- Mongrel::Gems
- Mongrel::HeaderOut
- Mongrel::HttpHandler
- Mongrel::HttpHandlerPlugin
- Mongrel::HttpParams
- Mongrel::HttpParser
- Mongrel::HttpParserError
- Mongrel::HttpRequest
- Mongrel::HttpResponse
- Mongrel::HttpServer
- Mongrel::Rails
- Mongrel::Rails::RailsConfigurator
- Mongrel::Rails::RailsHandler
- Mongrel::RedirectHandler
- Mongrel::StatisticsFilter
- Mongrel::Stats
- Mongrel::StatusHandler
- Mongrel::StopServer
- Mongrel::TimeoutError
- Mongrel::URIClassifier
- Mongrel::URIClassifier::RegistrationError
- Mongrel::URIClassifier::UsageError
- RequestLog
- RequestLog::Access
- RequestLog::Files
- RequestLog::Objects
- RequestLog::Params
- RequestLog::Threads
- IO
- Kernel
- MongrelDbg
- TCPServer

No matching classes.

# Mongrel

A very simple little class for doing some basic fast statistics sampling. You feed it either samples of numeric data you want measured or you call Stats.tick to get it to add a time delta between the last time you called it. When you're done either call sum, sumsq, n, min, max, mean or sd to get the information. The other option is to just call dump and see everything.

It does all of this very fast and doesn't take up any memory since the samples are not stored but instead all the values are calculated on the fly.

Mongrel module containing all of the classes (include C extensions) for running a Mongrel web server. It contains a minimalist HTTP server with just enough functionality to service web application requests fast as possible.

### Constants

HTTP_STATUS_CODES

  Every standard HTTP code mapped to the appropriate message. These are used so frequently that they are placed directly in Mongrel for easy access rather than Mongrel::Const itself.

[Validate]

Generated with the Darkfish Rdoc Generator 2.