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

Allow routing arbitrary HTTP requests #615

Open
esterlus opened this issue Jan 9, 2024 · 0 comments
Open

Allow routing arbitrary HTTP requests #615

esterlus opened this issue Jan 9, 2024 · 0 comments
Labels
epic This issue acts as a tracker for other issues

Comments

@esterlus
Copy link
Member

esterlus commented Jan 9, 2024

Currently RPCh is tailored towards handling JSON RPC requests.
However we want to make it more versatile and let it handle common HTTP requests.

Roadmap

  • extract current nodes collector into its own package and clean up its responsibility
  • enhance exit node to handle arbitrary HTTP with body and headers
  • create HTTP server thin layer to handle HTTP req (similar to current RPC server)
  • replace usage inside SDK
  • evaluate where to put JSON RPC specific functionality (maybe some into RPC server, maybe some into SDK lib)

Possible solution:

  • axios and fetch easy replacement
@esterlus esterlus added the epic This issue acts as a tracker for other issues label Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic This issue acts as a tracker for other issues
Projects
None yet
Development

No branches or pull requests

1 participant