Procedure calls that return no values

44 views
Skip to first unread message

Alan Cabrera

unread,
Dec 15, 2011, 8:20:28 PM12/15/11
to JSON-RPC
I have a procedure that does not return a value. It's not a
notification because I wish to wait until the procedure call has
completed.

How does the reply get encoded? I may have been missed something in
the spec but it's not obvious to me.

Gaetano Giunta

unread,
Dec 16, 2011, 4:05:15 AM12/16/11
to json...@googlegroups.com

Return a "null" value?

Alan D. Cabrera

unread,
Dec 16, 2011, 9:31:13 AM12/16/11
to json...@googlegroups.com

Can definitely do that. I was wondering if there was something more definitive that would be needed in the spec. I guess it's up to the person mapping their procedures on top of JSON-RPC to decide that.


Regards,
Alan


Reply all
Reply to author
Forward
0 new messages