Module: ActionController::DataStreaming

Extended by:
ActiveSupport::Concern
Includes:
Rendering
Defined in:
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'.freeze
DEFAULT_SEND_FILE_DISPOSITION =

:nodoc:

'attachment'.freeze

Constants included from Rendering

Rendering::RENDER_FORMATS_IN_PRIORITY

Method Summary

Methods included from Rendering

#process_action, #render, #render_to_body, #render_to_string