instance method instrument_csrf_event

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

instrument_csrf_event(event, message: nil)

No documentation comment.

Parameters

event req
message key = nil
Source
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 681
      def instrument_csrf_event(event, message: nil)
        ActiveSupport::Notifications.instrument event,
          request: request,
          controller: self.class.name,
          action: action_name,
          sec_fetch_site: sec_fetch_site_value,
          message: message
      end

Defined in actionpack/lib/action_controller/metal/request_forgery_protection.rb line 681 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::RequestForgeryProtection

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close