-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support writable streams (process STDIN) #33
Comments
Implementation depends on clue/reactphp-buzz#135. That issue is nontrivial giving the current APIs, but otherwise this should be fairly straight-forward in this library once the underlying support is there. |
Implementation now depends on reactphp/http#376. |
@clue how can I help on this? I personally will like to see a writable stream available for |
@bosunski This currently depends on reactphp/http#376 first in order to support the We've recently made some major changes to the underlying HTTP client and are currently working on some major new features. This will also allow us to expose the required APIs for this feature, so this really only a matter of time at the moment. PRs to help with this are always very much appreciated! 👍 |
I've just toyed around with this some more an came up with a working prototype! 🎉 It turns out the
I've also created a working prototype for this with ReactPHP. It boils down to using the existing I don't currently have an immediate use case for this feature, so I'll have to postpone this for now. As much as I'd like to commit to specific date, I can only say that we will get to this feature as soon as time permits. If you need this for a commercial project and you want to help sponsor this feature, feel free to reach out and I'm happy to take a look. |
Quite a few of the API endpoints take advantage of readable streaming APIs.
In the future, we should also look into streaming outgoing data even after having received the HTTP response header. This is relevant for attaching to read/write streams, such as writing to the STDIN of attached streams.
The text was updated successfully, but these errors were encountered: