Sha256: 731388928b597862d1e82f41dae03c5d76d4e83c3762cd3904ac1e153066511e

Contents?: true

Size: 674 Bytes

Versions: 3

Compression:

Stored size: 674 Bytes

Contents

#          Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
# All files in this distribution are subject to the terms of the Ruby license.

module Ramaze
  Global.test_connections = false

  module Adapter
    # Our Lsws adapter acts as wrapper for the Rack::Handler::LSWS.
    class Lsws < Base
      class << self

        # start Lsws 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
        def run_server host = nil, ports = nil
          Thread.new do
            Rack::Handler::LSWS.run(self)
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
clivecrous-ramaze-0.3.9.5 lib/ramaze/adapter/lsws.rb
ramaze-0.3.9 lib/ramaze/adapter/lsws.rb
ramaze-0.3.9.1 lib/ramaze/adapter/lsws.rb