Class: Mongrel::HttpHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/mongrel/handlers.rb

Overview

You implement your application handler with this. It’s very light giving just the minimum necessary for you to handle a request and shoot back a response. Look at the HttpRequest and HttpResponse objects for how to use them.

Direct Known Subclasses

DirHandler, Error404Handler, RailsHandler

Instance Method Summary collapse

Instance Method Details

#process(request, response) ⇒ Object



9
10
# File 'lib/mongrel/handlers.rb', line 9

def process(request, response)
end