Class: Ramaze::Adapter::Fcgi

Inherits:
Base show all
Defined in:
lib/ramaze/adapter/fcgi.rb

Overview

Our Fcgi adapter acts as wrapper for the Rack::Handler::FastCGI.

Class Method Summary collapse

Methods inherited from Base

before_call, call, join, respond, shutdown, start

Class Method Details

.startup(host = nil, port = nil) ⇒ Object

start FastCGI in a new thread, host and port parameter are only taken to make it compatible with other adapters but have no influence and can be omitted



13
14
15
# File 'lib/ramaze/adapter/fcgi.rb', line 13

def self.startup(host = nil, port = nil)
  Thread.new{ Rack::Handler::FastCGI.run(self) }
end