method

send_file

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_file(event)
public

No documentation available.

# File actionpack/lib/action_controller/structured_event_subscriber.rb, line 56
    def send_file(event)
      emit_event("action_controller.file_sent", path: event.payload[:path], duration_ms: event.duration.round(1))
    end