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_OPTIONS =
{
  :type         => 'application/octet-stream'.freeze,
  :disposition  => 'attachment'.freeze,
}.freeze

Method Summary

Methods included from Rendering

#process_action, #render, #render_to_string

Methods included from AbstractController::Rendering

#_render_template, #initialize, #process, #protected_instance_variables, #render, #render_to_body, #render_to_string, #view_context, #view_context_class, #view_renderer

Methods included from AbstractController::ViewPaths

#_prefixes, #append_view_path, #details_for_lookup, #lookup_context, #prepend_view_path