added RPCClient with interface symmetrical to RPCServer

This commit is contained in:
augustin_s committed 2022-12-19 12:25:16 +01:00
1 parent 9e2f501968
commit dee4052247
1 file changed
+11
+11
View File
@@ -0,0 +1,11 @@
import xmlrpc.client as xrc
class RPCClient(xrc.ServerProxy):
def __init__(self, host, port, *args, **kwargs):
uri = f"http://{host}:{port}/"
super().__init__(uri, *args, **kwargs)