method
send_blob_stream
v7.1.3.2 -
Show latest stable
- Class:
ActiveStorage::Streaming
send_blob_stream(blob, disposition: nil)private
Stream the blob from storage directly to the response. The disposition can be controlled by setting disposition. The content type and filename is set directly from the blob.