| Server IP : 109.234.162.214 / Your IP : 216.73.216.112 Web Server : Apache System : Linux servd162214.srv.odns.fr 4.18.0-372.26.1.lve.1.el8.x86_64 #1 SMP Fri Sep 16 14:08:19 EDT 2022 x86_64 User : carpe ( 1178) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/Server/ |
Upload File : |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Start a new rack server (like running rackup). This will parse ARGV and provide standard ARGV rackup options, defaulting to load 'config.ru'.
- !ruby/struct:SM::Flow::P
body: Providing an options hash will prevent ARGV parsing and will not include any default options.
- !ruby/struct:SM::Flow::P
body: "This method can be used to very easily launch a CGI application, for example:"
- !ruby/struct:SM::Flow::VERB
body: " Rack::Server.start(\n :app => lambda do |e|\n [200, {'Content-Type' => 'text/html'}, ['hello world']]\n end,\n :server => 'cgi'\n )\n"
- !ruby/struct:SM::Flow::P
body: Further options available here are documented on Rack::Server#initialize
full_name: Rack::Server::start
is_singleton: true
name: start
params: (options = nil)
visibility: public