Skip to content

Batch support #5

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

2 participants

@dcharbonnier
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
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
Collaborator

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
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.