- 
                Notifications
    You must be signed in to change notification settings 
- Fork 70
Closed
Labels
Description
Ever since 8e2554e StreamedResponses are no longer working since in https://github.com/php-pm/php-pm-httpkernel/blob/master/Bridges/HttpKernel.php#L173 $content will be false. Instead or additionally, a call to syResponse->sendContent() is needed.
However, since StreamedResponses can become huge, their output should rather be parsed in a streamed way instead of just concatenating to a buffer.
@marcj any idea how this could be done, i.e. ob_get_contents() in a streamed way? Like capturing our own STDOUT to a readable stream? Also, the contents should be piped on to the ReactReponse immediately.
- add StreamedResponse back in
- push/pull in async manner