Re: [Cppcms-users] Dispatch JSON-RPC methods.
Brought to you by:
artyom-beilis
|
From: Artyom B. <art...@ya...> - 2014-08-17 09:57:02
|
I think this should help: http://cppcms.com/cppcms_ref/latest/ex_json_rpc_chat.html It is an example of using Asynchonous JSON RPC calls. Tell me if you have more troubles Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Erasmo Aguilera <eag...@ho...> >To: cpp...@li... >Sent: Monday, August 11, 2014 9:51 PM >Subject: [Cppcms-users] Dispatch JSON-RPC methods. > > > >Hello, > >I’m having troubles using JSON-RPC. I already derive the application class from cppcms::rpc::json_rpc_server and bind the RPC methods in its constructor using the bind() method. > >However, I don’t know how to dispatch the RPC methods once an asynchronous request get into the main() method of the application class. > >Please help me out. > >Erasmo. >------------------------------------------------------------------------------ > >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |