gren-lang/node and gren-lang/browser have seperate HttpClient API's. Since Node.js supports fetch, it should be possible to write a single HttpClient that can be shared between all supported platforms.
A good first step would be to rewrite the HttpClient in gren-lang/node to be based on fetch with built-in support for Stream.
After that we can figure out how to make it work in the browser.
gren-lang/node and gren-lang/browser have seperate HttpClient API's. Since Node.js supports
fetch, it should be possible to write a single HttpClient that can be shared between all supported platforms.A good first step would be to rewrite the HttpClient in
gren-lang/nodeto be based onfetchwith built-in support forStream.After that we can figure out how to make it work in the browser.