From e377978d02e633817ef15396346312e8885d2b6d Mon Sep 17 00:00:00 2001 From: Antoine Millet Date: Thu, 15 Sep 2011 16:13:48 +0200 Subject: [PATCH] Added rpc property on RpcConnection. --- sjrpc/core/rpcconnection.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sjrpc/core/rpcconnection.py b/sjrpc/core/rpcconnection.py index 1412736..9755940 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). -- GitLab