Files
nextcloud-docs/developer_manual/app/appframework/api/http_downloadresponse.rst
2013-03-23 19:24:17 +01:00

25 lines
456 B
ReStructuredText

DownloadResponse
================
Prompts the user to download the a file
.. php:namespace:: OCA\AppFramework\Http
.. php:class:: DownloadResponse
* **Abstract**
.. php:method:: __construct($filename, $contentType)
:param string $filename: the name that the downloaded file should have
:param string $contentType: the mimetype that the downloaded file should have
Creates a response that prompts the user to download the file