W3cubDocs

/Padrino

Class: Padrino::Server

Inherits:
Rack::Server
  • Object

Overview

This module builds a Padrino server to run the project based on available handlers.

Constant Summary collapse

DEFAULT_ADDRESS =
{ :Host => '127.0.0.1', :Port => 3000 }
Handlers =

Server Handlers

[:thin, :puma, :'spider-gazelle', :mongrel, :trinidad, :webrick]

Class Method Summary

Instance Method Summary

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–2019 Padrino
Licensed under the MIT License.
https://www.rubydoc.info/github/padrino/padrino-framework/Padrino/Server