method

call

rails latest stable - Class: ActionDispatch::Reloader

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

call(env)
public

No documentation available.

# File actionpack/lib/action_dispatch/middleware/reloader.rb, line 69
    def call(env)
      @validated = @condition.call
      prepare!

      response = @app.call(env)
      response[2] = ::Rack::BodyProxy.new(response[2]) { cleanup! }

      response
    rescue Exception
      cleanup!
      raise
    end