Methods for sending files and streams to the browser instead of rendering.
| Constants | |
|---|---|
| DEFAULT_ |
|
| X_ |
|
| Protected Methods | |
|---|---|
| send_ |
Send binary data to the user as a file download. May set content type, apparent file name, and specify whether to show data inline or download as an attachment. |
| send_ |
Sends the file by streaming it 4096 bytes at a time. This way the whole file doesn’t need to be read into memory at once. This makes it feasible to send even large files. |
| Private Methods | |
|---|---|
| send_ |
|
<code/>and<pre/>for code samples.