s.am...@teravintech.com
unread,Jul 18, 2013, 1:52:14 AM7/18/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jay...@googlegroups.com
public class HelloTest : JsonRpcHandler
{
[JsonRpcMethod("echoTest")]
public string echoTest(string test)
{
string response = "Response : " + test;
return test;
}
}
{"id":3,"method":"echoTest","params":{ "test" : "catty is here" }}
i want to get the id of the json and put it in the response
so the response will be like bellow:
string response = "Response " + requestId + " : " + test;
requetsId is 3 if like above json request.
Thanks,