Sha256: a97641d8d7251e9c9a2ef01f5cf726b30fd7ca378f6286464e306e1a786efceb
Contents?: true
Size: 534 Bytes
Versions: 15
Compression:
Stored size: 534 Bytes
Contents
module Rack module Handler # Rack Handler stricly to be able to use Thin through the rackup command. # To do so, simply require 'thin' in your Rack config file and run like this # # rackup --server thin # class Thin def self.run(app, options={}) server = ::Thin::Server.new(options[:Host] || '0.0.0.0', options[:Port] || 8080, app) yield server if block_given? server.start end end end end
Version data entries
15 entries across 15 versions & 3 rubygems