cross-platform HttpClient
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 48
- Forks
- 14
- Avg merge
- 4h 14m
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the HttpClient implementation in gren-lang/node and reading how its current API handles requests and Stream support. Rewrite the Node implementation around fetch with built-in Stream support; completion means the Node HttpClient uses fetch, while browser unification remains a later step.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100