Files
nextcloud-docs/developer_manual/app/appframework/api/http_downloadresponse.rst
Bernhard Posselt a5761ca8d0 structure changes
2013-03-13 17:13:35 +01:00

23 lines
454 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