Type:
Module
Constants:
DEFAULT_SEND_FILE_TYPE : 'application/octet-stream'.freeze #:nodoc:
DEFAULT_SEND_FILE_DISPOSITION : 'attachment'.freeze

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

send_data

send_data(data, options = {}) Instance Protected methods Sends the given binary

2015-06-20 00:00:00
send_file

send_file(path, options = {}) Instance Protected methods Sends the file. This

2015-06-20 00:00:00