-
Notifications
You must be signed in to change notification settings - Fork 15
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
response.body.getReader(), as ReadableStream #95
Comments
I spent some more time reading the README and source, and seems like you made a conscious decision to use the node readablestream api over whatwg. Two questions..
|
dit you manage to figure this out? I am working on a streaming grpc lib and I am also running into the issue of the API's not being compatible |
Hi there, first I want to thank you for making this! finally a quality fetch implementation for nodejs :) Please let me know if you are accepting sponsorship, I'm happy to support!
secondly, what's your opinion on getting to api parity with the fetch spec? my personal use case is to having javascript clients that can be used in both nodejs and in browsers, I've achieved this in github.com/webrpc/webrpc example: https://github.com/webrpc/webrpc/blob/master/_examples/hello-webrpc-ts/webapp/src/client.gen.ts .. but now I am adding http streaming support to webrpc and I'd like the JS client to use identical code for node and browsers for simplicity.
Sadly, every fetch implementation for node fails to implement the readable streams with a consistent api as browsers.
example:
The text was updated successfully, but these errors were encountered: