<filename>examples/sign_example.py
#encoding=utf8   
from __future__ import print_function

import sys
sys.path.append("../")  

from zbus import RpcClient
    
rpc = RpcClient('localhost',mq='MyRpc')

rpc.enable_auth('<PASSWORD>', '461277322-943d-4b2f-b9b6-3f860d746ffd') 
 
res = rpc.example.plus(1,2) 
print(res)


#close client
rpc.close()

<filename>examples/sign_example.py
#encoding=utf8   
from __future__ import print_function

import sys
sys.path.append("../")  

from zbus import RpcClient
    
rpc = RpcClient('localhost',mq='MyRpc')

rpc.enable_auth('<PASSWORD>', '461277322-943d-4b2f-b9b6-3f860d746ffd') 
 
res = rpc.example.plus(1,2) 
print(res)


#close client
rpc.close()

#encoding=utf8 #close client