method

external_request_id

Importance_0
v3.2.1 - Show latest stable - 0 notes - Class: RequestId
external_request_id(env) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/middleware/request_id.rb, line 29
      def external_request_id(env)
        if request_id = env["HTTP_X_REQUEST_ID"].presence
          request_id.gsub(/[^\w\-]/, "").first(255)
        end
      end
Register or log in to add new notes.