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

Whether jsonrpsee will support http server middleware like jsonrpc-core #437

Closed
KaoImin opened this issue Aug 23, 2021 · 3 comments
Closed

Comments

@KaoImin
Copy link

KaoImin commented Aug 23, 2021

No description provided.

@dvdplm
Copy link
Contributor

dvdplm commented Aug 23, 2021

That is undecided. What is your use-case if I may ask?

@KaoImin
Copy link
Author

KaoImin commented Aug 23, 2021

That is undecided. What is your use-case if I may ask?

I used middleware to do RPC relay. In detail, In detail, the middleware will determine whether it needs to be processed or relayed to a specific host on receiving a request.

@dvdplm dvdplm mentioned this issue Oct 1, 2021
10 tasks
@dvdplm dvdplm mentioned this issue Nov 23, 2021
7 tasks
@dvdplm
Copy link
Contributor

dvdplm commented Dec 1, 2021

We merged #576 today which adds some support for middleware. I'd say it does not cater to your use case though and I'm not wholly convinced middleware is a good fit for load balancing. I'll close this issue now as it's more of a question.

It'd be great if you could open a feature request issue to argue for your RPC relay use-case and we can discuss further there. :)

@dvdplm dvdplm closed this as completed Dec 1, 2021
@niklasad1 niklasad1 mentioned this issue Jan 24, 2022
7 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

No branches or pull requests

2 participants