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"
DEFAULT_SEND_FILE_DISPOSITION =

:nodoc:

"attachment"

Constants included from Rendering

Rendering::RENDER_FORMATS_IN_PRIORITY

Method Summary

Methods included from Rendering

#render, #render_to_body, #render_to_string