Class: Ramaze::Adapter::Scgi

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

Overview

Our Scgi adapter acts as wrapper for the Rack::Handler::SCGI.

Class Method Summary collapse

Methods inherited from Base

before_call, call, join, respond, shutdown, start

Class Method Details

.startup(host, port) ⇒ Object

start SCGI in a new thread



11
12
13
14
15
# File 'lib/ramaze/adapter/scgi.rb', line 11

def self.startup(host, port)
  Thread.new do
    Rack::Handler::SCGI.run(self, :Host => host, :Port => port)
  end
end