Module: ActionController::Streaming
- Extended by:
- ActiveSupport::Concern
- Includes:
- Rendering
- Defined in:
- lib/action_controller/metal/streaming.rb
Overview
Methods for sending arbitrary data and for streaming files to the browser, instead of rendering.
Constant Summary collapse
- DEFAULT_SEND_FILE_OPTIONS =
{ :type => 'application/octet-stream'.freeze, :disposition => 'attachment'.freeze, }.freeze
Instance Attribute Summary
Attributes included from AbstractController::Rendering
Method Summary
Methods included from Rendering
Methods included from AbstractController::Rendering
#_prefix, #_render_template, #initialize, #process, #render, #render_to_body, #render_to_string, #view_context
Methods included from AbstractController::ViewPaths
#append_view_path, #details_for_lookup, #lookup_context, #prepend_view_path