Padrino::Server
Class: Padrino::Server
- Inherits:
- Rack::Server
- Object
- Rack::Server
- Padrino::Server
Overview
This module builds a Padrino server to run the project based on available handlers.
Constant Summary
- DEFAULT_ADDRESS =
{ :Host => '127.0.0.1', :Port => 3000 }
- Handlers =
Server Handlers
[:thin, :puma, :spider-gazelle', :mongrel, :trinidad, :webrick]
Class Method Summary
-
.start(app, options = {}) ⇒ Object
Starts the application on the available server with specified options.
Instance Method Summary
-
#app ⇒ Object (also: #wrapped_app)
The application the server will run. -
#initialize(options, app) ⇒ Server
constructor A new instance of Server. -
#options ⇒ Object
-
#start ⇒ Object
Starts the application on the available server with specified options.
Constructor Details
#initialize(options, app) ⇒ Server
Returns a new instance of Server
Class Method Details
.start(app, options = {}) ⇒ Object
Starts the application on the available server with specified options.
Instance Method Details
#app ⇒ Object Also known as: wrapped_app
The application the server will run.
#options ⇒ Object
#start ⇒ Object
Starts the application on the available server with specified options.
© 2010–2016 Padrino
Licensed under the MIT License.
http://www.rubydoc.info/github/padrino/padrino-framework/Padrino/Server