For json-rpc 2.0, I'm using http://jsonrpc2.codeplex.com/
. I'd like to ask if a specific functionality also exists for jayrock.
Basically, when calling jsonrpc-dispatcher, I can create my own context object;
var rpcContext = new HttpRpcContext(this, rpcResponse);
And when calling the dispatcher, I set the context object to dispatcher;
Then within the json-rpc method handler, I can access the context object I assigned using;
public Wallet.Responses.Getwork Getwork()
var context = (HttpRpcContext)JsonRpcContext.Current().Value;
With this I can further manipulate my json-rpc responses based on the context of the client and so.
Is this possible with jayrock?