diff --git a/sjrpc/core/rpcconnection.py b/sjrpc/core/rpcconnection.py index 14127367e2544d606b814bd9afeb125004591154..97559408e700f65d7827fe2845a4c7a8f9fd45fb 100644 --- a/sjrpc/core/rpcconnection.py +++ b/sjrpc/core/rpcconnection.py @@ -181,6 +181,10 @@ class RpcConnection(object): # Public API # + @property + def rpc(self): + return self.get_protocol(0) + def set_capabilities(self, capabilities): ''' Set capabilities of remote host (and disable fallback mode).