class Rackup::Server
def self.start(options = nil)
)
:server => 'cgi'
end,
[200, {'content-type' => 'text/html'}, ['hello world']]
:app => lambda do |e|
Rack::Server.start(
example:
This method can be used to very easily launch a CGI application, for
any default options.
Providing an options hash will prevent ARGV parsing and will not include
provide standard ARGV rackup options, defaulting to load 'config.ru'.
Start a new rack server (like running rackup). This will parse ARGV and
def self.start(options = nil) new(options).start end