19 declare(strict_types=1);
41 $this->
http->saveResponse($this->
http->response()->withBody(
44 $this->
http->sendResponse();
51 string $mime =
"application/octet-stream" 57 $delivery->setMimeType($mime);
58 $delivery->setSendMimeType(
true);
60 $delivery->setDownloadFileName($filename);
61 $delivery->setConvertFileNameToAsci(
true);
63 $this->
http->saveResponse($repsonse);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
sendString(string $output)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
deliverString(string $data, string $filename, string $mime="application/octet-stream")
static ofString(string $string)
Creates a new stream with an initial value.
__construct(HTTP\Services $http)