You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
@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.
Ever since 8e2554e
StreamedResponse
s are no longer working since in https://github.com/php-pm/php-pm-httpkernel/blob/master/Bridges/HttpKernel.php#L173$content
will befalse
. Instead or additionally, a call tosyResponse->sendContent()
is needed.However, since
StreamedResponse
s 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.The text was updated successfully, but these errors were encountered: