D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby19
/
lib64
/
ruby
/
gems
/
1.9.1
/
doc
/
rack-1.6.4
/
ri
/
Rack
/
Server
/
Filename :
new-c.ri
back
Copy
U:RDoc::AnyMethod[iI"new:EFI"Rack::Server::new;FT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"Options may include:;Fo:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [I" :app;Fo:RDoc::Markup::Verbatim; [I"3a rack application to run (overrides :config) ;Fo;;0; [o; ; [I":config;Fo;; [I"4a rackup configuration file path to load (.ru) ;Fo;;0; [o; ; [I":environment;Fo;; [I"=this selects the middleware that will be wrapped around ;FI"6your application. Default options available are: ;FI"= - development: CommonLogger, ShowExceptions, and Lint ;FI"" - deployment: CommonLogger ;FI"# - none: no extra middleware ;FI"Jnote: when the server is a cgi server, CommonLogger is not included. ;Fo;;0; [o; ; [I":server;Fo;; [I">choose a specific Rack::Handler, e.g. cgi, fcgi, webrick ;Fo;;0; [o; ; [I":daemonize;Fo;; [I"Cif true, the server will daemonize itself (fork, detach, etc) ;Fo;;0; [o; ; [I" :pid;Fo;; [I".path to write a pid file after daemonize ;Fo;;0; [o; ; [I" :Host;Fo;; [I"Dthe host address to bind to (used by supporting Rack::Handler) ;Fo;;0; [o; ; [I" :Port;Fo;; [I"<the port to bind to (used by supporting Rack::Handler) ;Fo;;0; [o; ; [I":AccessLog;Fo;; [I">webrick access log options (or supporting Rack::Handler) ;Fo;;0; [o; ; [I":debug;Fo;; [I"*turn on debug output ($DEBUG = true) ;Fo;;0; [o; ; [I" :warn;Fo;; [I"#turn on warnings ($-w = true) ;Fo;;0; [o; ; [I" :include;Fo;; [I"#add given paths to $LOAD_PATH ;Fo;;0; [o; ; [I" :require;Fo;; [I" require the given libraries;F: @file000[ I"(options = nil);FI"lib/rack/server.rb;F