Skip to content
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

HTTP client #25

Closed
3 tasks
Tracked by #10
bajtos opened this issue Feb 8, 2023 · 1 comment · Fixed by #52
Closed
3 tasks
Tracked by #10

HTTP client #25

bajtos opened this issue Feb 8, 2023 · 1 comment · Fixed by #52
Assignees

Comments

@bajtos
Copy link
Member

bajtos commented Feb 8, 2023

Allow Station Modules to make HTTP requests (GET, POST, etc.) Ideally, we want to reuse Deno's implementation of the Fetch API from Web APIs.

Fetch API depends on Web Streams, which is tricky.

As a short-term shortcut, we can implement a subset of Fetch features ourselves, following the Fetch API spec as close as possible, with the intention to replace this limited implementation with a proper one from Deno at some point in the future. (Open a follow-up GH issue for that!)

It would be great to have the same Streams API for both HTTP and libp2p; see #9.

  • JavaScript APIs
  • Automated tests
  • Documentation for module builders
@bajtos bajtos added this to the v0.1 - Public Alpha milestone Feb 8, 2023
@bajtos bajtos mentioned this issue Feb 8, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants