Sha256: 2948965b1437bd0c85b658151ae8b4f9af2d62c3a9ee9be08a67efa7e4e8c37e

Contents?: true

Size: 476 Bytes

Versions: 1

Compression:

Stored size: 476 Bytes

Contents

require 'ramaze/adapter'

module Ramaze::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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ramaze-0.3.5 lib/ramaze/adapter/lsws.rb