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

Support JSON-RPC 1.0 #223

Open
hholst80 opened this issue Nov 18, 2021 · 1 comment
Open

Support JSON-RPC 1.0 #223

hholst80 opened this issue Nov 18, 2021 · 1 comment

Comments

@hholst80
Copy link

hholst80 commented Nov 18, 2021

Since the server should be stateless and its an request -> reply flow it would be reasonable that the server supported both JSON-RPC 1.0 and 2.0? Just ignore the "jsonrpc": "2.0" and maybe another schema validation (no support for batch, no support for object params). The server would need to track if it was a 1.0 or 2.0 request because the response will depend on that.

https://www.jsonrpc.org/specification_v1

@bcb
Copy link
Member

bcb commented Nov 25, 2021

This has been asked before in the client library (explodinglabs/jsonrpcclient#111). I still consider these libraries are implementations of the 2.0 spec. The 1.0 spec has been superceded since 2008 or something (not sure exactly). Do you need this or just think we should have it?

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