StreamResponse¶
-
class
OCP\AppFramework\Http\
StreamResponse
¶ - Class StreamResponse
Source: lib/public/AppFramework/Http/StreamResponse.php#37 Parent: OCP\AppFramework\Http\Response
Implements: OCP\AppFramework\Http\ICallbackResponse
Properties¶
Methods¶
-
public
OCP\AppFramework\Http\StreamResponse::
__construct
($filePath)¶ Source: Parameters: - $filePath (string | resource) the path to the file or a file handle which should be streamed
Since: 8.1.0
-
public
OCP\AppFramework\Http\StreamResponse::
callback
($output)¶ - Streams the file using readfile
Source: Parameters: - $output (
OCP\AppFramework\Http\IOutput
) a small wrapper that handles output
Since: 8.1.0
- $output (