Changes between Version 4 and Version 5 of Jsonrpc


Ignore:
Timestamp:
Jun 4, 2009, 12:33:51 PM (15 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Jsonrpc

    v4 v5  
    1414{{{
    1515myproject/myapp/views.py:
     16
     17from jsonrpc import JsonRpc, publicmethod
    1618
    1719class MyRpcMethods(object):
     
    6668>>> 4
    6769
    68 rpc.read_diary().addCallback(function(secrets) {
     70rpc.callRemote("read_diary").addCallback(function(secrets) {
    6971    console.log(secrets);
    7072});
Back to Top