AlkantarClanX12
Current Path : /opt/alt/ruby26/lib64/ruby/gems/2.6.0/doc/rackup-2.1.0/ri/Rackup/Server/ |
Current File : //opt/alt/ruby26/lib64/ruby/gems/2.6.0/doc/rackup-2.1.0/ri/Rackup/Server/start-c.ri |
U:RDoc::AnyMethod[iI" start:ETI"Rackup::Server::start;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"MStart a new rack server (like running rackup). This will parse ARGV and ;TI"Jprovide standard ARGV rackup options, defaulting to load 'config.ru'.;To:RDoc::Markup::BlankLine o; ; [I"NProviding an options hash will prevent ARGV parsing and will not include ;TI"any default options.;T@o; ; [I"JThis method can be used to very easily launch a CGI application, for ;TI" example:;T@o:RDoc::Markup::Verbatim; [I"Rack::Server.start( ;TI" :app => lambda do |e| ;TI"A [200, {'content-type' => 'text/html'}, ['hello world']] ;TI" end, ;TI" :server => 'cgi' ;TI") ;T:@format0o; ; [I"MFurther options available here are documented on Rack::Server#initialize;T: @fileI"lib/rackup/server.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(options = nil);T@#FI"Server;TcRDoc::NormalClass00