Server IP : 68.65.120.251 / Your IP : 18.191.142.102 [ Web Server : LiteSpeed System : Linux server105.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : travtpib ( 6521) PHP Version : 7.4.33 Disable Function : NONE Domains : 1 Domains 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