Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium163.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 : infihsqw ( 644)
PHP Version : 8.1.29
Disable Function : NONE
Directory :  /opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/Server/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/Server/start-c.yaml
--- !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

ZeroDay Forums Mini