Class: PhusionPassenger::Rack::RequestHandler
- Inherits:
-
AbstractRequestHandler
- Object
- AbstractRequestHandler
- PhusionPassenger::Rack::RequestHandler
- Defined in:
- lib/phusion_passenger/rack/request_handler.rb
Overview
A request handler for Rack applications.
Constant Summary collapse
- RACK_VERSION =
Constants which exist to relieve Ruby’s garbage collector.
"rack.version"
- RACK_VERSION_VALUE =
:nodoc:
[1, 0]
- RACK_INPUT =
:nodoc:
"rack.input"
- RACK_ERRORS =
:nodoc:
"rack.errors"
- RACK_MULTITHREAD =
:nodoc:
"rack.multithread"
- RACK_MULTIPROCESS =
:nodoc:
"rack.multiprocess"
- RACK_RUN_ONCE =
:nodoc:
"rack.run_once"
- RACK_URL_SCHEME =
:nodoc:
"rack.url_scheme"
- SCRIPT_NAME =
:nodoc:
"SCRIPT_NAME"
- CONTENT_LENGTH =
:nodoc:
"CONTENT_LENGTH"
- CONTENT_TYPE =
:nodoc:
"CONTENT_TYPE"
- HTTP_CONTENT_LENGTH =
:nodoc:
"HTTP_CONTENT_LENGTH"
- HTTP_CONTENT_TYPE =
:nodoc:
"HTTP_CONTENT_TYPE"
- HTTPS =
:nodoc:
"HTTPS"
- HTTPS_DOWNCASE =
:nodoc:
"https"
- HTTP =
:nodoc:
"http"
- YES =
:nodoc:
"yes"
- ON =
:nodoc:
"on"
- ONE =
:nodoc:
"1"
- CRLF =
:nodoc:
"\r\n"
Constants inherited from AbstractRequestHandler
AbstractRequestHandler::BACKLOG_SIZE, AbstractRequestHandler::DEFAULT, AbstractRequestHandler::HARD_TERMINATION_SIGNAL, AbstractRequestHandler::IGNORE, AbstractRequestHandler::MAX_HEADER_SIZE, AbstractRequestHandler::NULL, AbstractRequestHandler::PASSENGER_HEADER, AbstractRequestHandler::PING, AbstractRequestHandler::REQUEST_METHOD, AbstractRequestHandler::SOFT_TERMINATION_SIGNAL, AbstractRequestHandler::X_POWERED_BY
Instance Attribute Summary
Attributes inherited from AbstractRequestHandler
#iterations, #memory_limit, #processed_requests, #socket_name, #socket_type
Instance Method Summary collapse
-
#initialize(owner_pipe, app, options = {}) ⇒ RequestHandler
constructor
app
is the Rack application object.
Methods inherited from AbstractRequestHandler
#cleanup, #main_loop, #main_loop_running?, #start_main_loop_thread
Constructor Details
#initialize(owner_pipe, app, options = {}) ⇒ RequestHandler
app
is the Rack application object.
56 57 58 59 |
# File 'lib/phusion_passenger/rack/request_handler.rb', line 56 def initialize(owner_pipe, app, = {}) super(owner_pipe, ) @app = app end |