19declare(strict_types=1);
45 public function inline(
68 $this->
http->response(),
74 $r = $this->response_builder->buildForStream(
75 $this->
http->request(),
attached(string $path_to_file, ?string $download_file_name=null, ?string $mime_type=null, ?bool $delete_file=false)
deliver(string $path_to_file, Disposition $disposition, ?string $download_file_name=null, ?string $mime_type=null, ?bool $delete_file=false)
string $download_file_name
Stream factory which enables the user to create streams without the knowledge of the concrete class.
static ofResource($resource)
Wraps an already created resource with the stream abstraction.
static http()
Fetches the global http state from ILIAS.