Module | Innate::Adapter |
In: |
lib/innate/adapter.rb
|
Lightweight wrapper around Rack::Handler, will apply our options in a unified manner and deal with adapters that don‘t like to do what we want or where Rack doesn‘t want to take a stand.
Rack handlers as of 2009.03.25: cgi, fastcgi, mongrel, emongrel, smongrel, webrick, lsws, scgi, thin
Pass given app to the Handler, handler is chosen based on config.adapter option. If there is a method named start_name_of_adapter it will be run instead of the default run method of the handler, this makes it easy to define custom startup of handlers for your server of choice.