class Rails::Rack::LogTailer

Public Instance Methods

call(env) click to toggle source
# File lib/api_hammer/rails_request_logging.rb, line 16
def call(env)
  status, headers, body = @app.call(env)
  body_proxy = ::Rack::BodyProxy.new(body) { tail! }
  [status, headers, body_proxy]
end