Padrino::Server

Class: Padrino::Server

Inherits:
Rack::Server
  • Object

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

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部