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
feature #66 Add support for streamed Symfony request (Ekman)
This PR was squashed before being merged into the 1.2-dev branch.
Discussion
----------
Add support for streamed Symfony request
As a continuation of #3 and #50 . Add support for converting a `ServerRequestInterface` with a large body to a Symfony request.
I'm not all too familiar with Symfony components, but I saw that a Symfony request supports `string|resource|null` as its body. Since calling `detach()` on a `StreamInterface` will make the stream unsuable I added a `$streamed` argument to the function in order to not make break any existing code, and to make it a conscious decision of the caller to stream the response.
I'm happy to make any necessary changes if needed.
Commits
-------
df26630 Add support for streamed Symfony request
0 commit comments