lib/rack/handler/lsws.rb in rack-2.1.4.4 vs lib/rack/handler/lsws.rb in rack-2.2.0
- old
+ new
@@ -1,14 +1,12 @@
# frozen_string_literal: true
require 'lsapi'
-require 'rack/content_length'
-require 'rack/rewindable_input'
module Rack
module Handler
class LSWS
- def self.run(app, options = nil)
+ def self.run(app, **options)
while LSAPI.accept != nil
serve app
end
end
def self.serve(app)