Module: ActionController::DataStreaming

Extended by:
ActiveSupport::Concern
Includes:
Rendering
Included in:
ActiveStorage::Streaming
Defined in:
actionpack/lib/action_controller/metal/data_streaming.rb

Overview

Methods for sending arbitrary data and for streaming files to the browser, instead of rendering.

Constant Summary collapse

DEFAULT_SEND_FILE_TYPE =

:nodoc:

"application/octet-stream"
DEFAULT_SEND_FILE_DISPOSITION =

:nodoc:

"attachment"

Constants included from Rendering

Rendering::RENDER_FORMATS_IN_PRIORITY

Method Summary

Methods included from ActiveSupport::Concern

append_features, class_methods, extended, included, prepend_features, prepended

Methods included from Rendering

#render, #render_to_body, #render_to_string