class Rack::Server
Part of the Rack
monkey patch. See file “rack_monkey_path.rb”‘s documentation for details.
Public Class Methods
racks_original_start( options = nil )
Part of the Rack
monkey patch. Alias for the original Rack::Server::start
.
Alias for: start
start( options = nil )
Part of the Rack
monkey patch. See ::start_and_record_host_and_port
.
options
Also aliased as: racks_original_start
Alias for: start_and_record_host_and_port
start_and_record_host_and_port( options = nil )
click to toggle source
Part of the Rack
monkey patch. See file “rack_monkey_path.rb”‘s documentation for details.
This method is aliased in place of Rack::Server::start
and reads the passed-in options hash to attempt to determine the host name and port number under which a Rack
based service is running. It then calls through to Rack’s original ::start
implementation.
options
-
Options (see original
Rack::Server
documentation).
# File lib/hoodoo/services/middleware/rack_monkey_patch.rb, line 55 def start_and_record_host_and_port( options = nil ) Hoodoo::Services::Middleware.record_host_and_port( options ) racks_original_start( options ) end
Also aliased as: start