Module: Unicorn
- Defined in:
- lib/unicorn.rb,
lib/unicorn/util.rb,
lib/unicorn/const.rb,
lib/unicorn/tee_input.rb,
lib/unicorn/cgi_wrapper.rb,
lib/unicorn/configurator.rb,
lib/unicorn/http_request.rb,
lib/unicorn/app/old_rails.rb,
lib/unicorn/http_response.rb,
lib/unicorn/socket_helper.rb,
ext/unicorn_http/unicorn_http.c
Overview
Unicorn module containing all of the classes (include C extensions) for running a Unicorn web server. It contains a minimalist HTTP server with just enough functionality to service web application requests fast as possible.
Defined Under Namespace
Modules: App, Const, SocketHelper Classes: CGIWrapper, Configurator, HttpParser, HttpParserError, HttpRequest, HttpResponse, HttpServer, Launcher, TeeInput, Util
Class Method Summary collapse
Class Method Details
.run(app, options = {}) ⇒ Object
19 20 21 |
# File 'lib/unicorn.rb', line 19 def run(app, = {}) HttpServer.new(app, ).start.join end |