method

send_data

rails latest stable - Class: ActionController::StructuredEventSubscriber

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

send_data(event)
public

No documentation available.

# File actionpack/lib/action_controller/structured_event_subscriber.rb, line 64
    def send_data(event)
      emit_event("action_controller.data_sent", filename: event.payload[:filename], duration_ms: event.duration.round(1))
    end