method

call

rails latest stable - Class: ActionDispatch::RequestId
call(env)
public

No documentation available.

# File actionpack/lib/action_dispatch/middleware/request_id.rb, line 25
    def call(env)
      req = ActionDispatch::Request.new env
      req.request_id = make_request_id(req.headers[@header])
      @app.call(env).tap { |_status, headers, _body| headers[@header] = req.request_id }
    end