| [ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 144 lines (3 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
StreamedResponse:: (7 methods):
__construct()
create()
setCallback()
sendHeaders()
sendContent()
setContent()
getContent()
Class: StreamedResponse - X-Ref
StreamedResponse represents a streamed HTTP response.| __construct(callable $callback = null, $status = 200, $headers = []) X-Ref |
param: callable|null $callback A valid PHP callback or null to set it later param: int $status The response status code param: array $headers An array of response headers |
| create($callback = null, $status = 200, $headers = []) X-Ref |
| Factory method for chainability. param: callable|null $callback A valid PHP callback or null to set it later param: int $status The response status code param: array $headers An array of response headers return: static |
| setCallback(callable $callback) X-Ref |
| Sets the PHP callback associated with this Response. param: callable $callback A valid PHP callback return: $this |
| sendHeaders() X-Ref |
| {@inheritdoc} This method only sends the headers once. return: $this |
| sendContent() X-Ref |
| {@inheritdoc} This method only sends the content once. return: $this |
| setContent($content) X-Ref |
| {@inheritdoc} return: $this |
| getContent() X-Ref |
| {@inheritdoc} |
| Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |