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

Batch support #5

Open
dcharbonnier opened this issue Jan 20, 2014 · 3 comments
Open

Batch support #5

dcharbonnier opened this issue Jan 20, 2014 · 3 comments
Milestone

Comments

@dcharbonnier
Copy link
Collaborator

http://www.jsonrpc.org/specification#batch
To send several Request objects at the same time, the Client MAY send an Array filled with Request objects.

@pocesar
Copy link
Owner

pocesar commented Jan 26, 2014

how hard would to implement that in the current way the library exists? the handleCall should be able to execute the params in order. does the batch need to be synchronous (aka expect a response after executed) or all the results are appended and sent at once?

@dcharbonnier
Copy link
Collaborator Author

I think this is very easy to do all the results are appended and sent at once. I don't understand, what do you mean with execute the params in order ?

@pocesar
Copy link
Owner

pocesar commented Jan 28, 2014

seeing the DOCs, I thought the method calls needed to be executed in order, and their resulting callbacks also called in order. method with id = 1 > result with id = 1, etc, but send the results all at once, instead of sending them as requested

@pocesar pocesar added this to the 2.0 milestone Nov 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants