added RPCClient with interface symmetrical to RPCServer
This commit is contained in:
1 parent
9e2f501968
commit
dee4052247
1 file changed
+11
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user