ILIAS  trunk Revision v11.0_alpha-1843-g9e1fad99175
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ResponseBuilder.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
26 
30 interface ResponseBuilder
31 {
32  public function getName(): string;
33 
34  public function buildForStream(
35  ServerRequestInterface $request,
36  ResponseInterface $response,
37  FileStream $stream,
38  ): ResponseInterface;
39 
40  public function supportStreaming(): bool;
41  public function supportPartial(): bool;
42 
43  public function supportFileDeletion(): bool;
44 
45  public function supportsInlineDelivery(): bool;
46 
47  public function supportsAttachmentDelivery(): bool;
48 }
$response
Definition: xapitoken.php:93
buildForStream(ServerRequestInterface $request, ResponseInterface $response, FileStream $stream,)
The base interface for all filesystem streams.
Definition: FileStream.php:31