Code

Changes between Version 4 and Version 5 of Jsonrpc


Ignore:
Timestamp:
06/04/09 10:33:51 (5 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});