FileDisplayResponse¶
-
class
OCP\AppFramework\Http\
FileDisplayResponse
¶ - Class FileDisplayResponse
Source: lib/public/AppFramework/Http/FileDisplayResponse.php#34 Parent: OCP\AppFramework\Http\Response
Implements: OCP\AppFramework\Http\ICallbackResponse
Properties¶
Methods¶
-
public
OCP\AppFramework\Http\FileDisplayResponse::
__construct
($file, $statusCode=\OCP\AppFramework\Http::STATUS_OK, $headers=[])¶ - FileDisplayResponse constructor.
Source: Parameters: - $file (
OCP\Files\File
|\OCP\Files\SimpleFS\ISimpleFile
) - $statusCode (int)
- $headers (array)
Since: 11.0.0
- $file (
-
public
OCP\AppFramework\Http\FileDisplayResponse::
callback
($output)¶ Source: Parameters: - $output (
OCP\AppFramework\Http\IOutput
)
Since: 11.0.0
- $output (