| Syntax |
|
| Documentation | $io.send: Send the content of a file directly to the client. This means that the data from the input stream of the given file is written directly to the output stream of the servlet. Different from a computed template the data is send instantly to the client hence preceding any template output and data from subsequent calls to $io.send. This function is equivalent to $io.sendBytes except for the data source.
|
| Examples | |
| $io.send{public://index.html} | |
| Group | Special |
| Minimum required transaction-mode: | READ=IO |
| Required scripting permission of the developer | PERMISSION_FL_BASIC |
| Minimum parameters | 1 |
| Maximum parameters | 1 |