Files
nextcloud-docs/developer_manual/classes/appframework/http_downloadresponse.rst
2013-01-26 16:31:08 +01:00

23 lines
458 B
ReStructuredText

DownloadResponse
================
Prompts the user to download the a textfile
.. 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