Class | Merb::Rack::Handler::Mongrel |
In: |
lib/merb-core/rack/handler/mongrel.rb
|
Parent: | ::Mongrel::HttpHandler |
Runs the server and yields it to a block.
app<Merb::Rack::Application>: | The app that Mongrel should handle. |
options<Hash>: | Options to pass to Mongrel (see below). |
server<Mongrel::HttpServer>: | The server to run. |
:Host<String>: | The hostname on which the app should run. Defaults to "0.0.0.0" |
:Port<Fixnum>: | The port for the app. Defaults to 8080. |
request<Merb::Request>: | The HTTP request to handle. |
response<HTTPResponse>: | The response object to write response to. |