Sha256: 27efd3792698737a0750fa2addd13b4a753b39b4345c5763115baa564e19e66a
Contents?: true
Size: 451 Bytes
Versions: 4
Compression:
Stored size: 451 Bytes
Contents
module Thin class CallbackRackHandler def self.run(app, options) options[:signals] = false server = ::Thin::Server.new(options[:Host] || '0.0.0.0', options[:Port] || 8080, app, options) yield server if block_given? server.start end end end Rack::Handler.register 'thin-with-callbacks', Thin::CallbackRackHandler
Version data entries
4 entries across 4 versions & 1 rubygems