xmlrpc.client.ServerProxy.system.listMethods()

ServerProxy.system.listMethods() This method returns a list of strings, one for each (non-system) method supported by the XML-RPC server.

xmlrpc.client.ServerProxy

class xmlrpc.client.ServerProxy(uri, transport=None, encoding=None, verbose=False, allow_none=False, use_datetime=False, use_builtin_types=False, *, context=None) Changed in version 3.3: The use_builtin_types flag was added. A ServerProxy instance is an object that manages communication with a remote XML-RPC server. The required first argument is a URI (Uniform Resource Indicator), and will normally be the URL of the server. The optional second argument is a transport factory instance; by

xmlrpc.client.ProtocolError.url

url The URI or URL that triggered the error.

xmlrpc.client.ProtocolError.headers

headers A dict containing the headers of the HTTP/HTTPS request that triggered the error.

xmlrpc.client.ProtocolError.errmsg

errmsg The error message or diagnostic string.

xmlrpc.client.ProtocolError.errcode

errcode The error code.

xmlrpc.client.ProtocolError

class xmlrpc.client.ProtocolError A ProtocolError object describes a protocol error in the underlying transport layer (such as a 404 ‘not found’ error if the server named by the URI does not exist). It has the following attributes: url The URI or URL that triggered the error. errcode The error code. errmsg The error message or diagnostic string. headers A dict containing the headers of the HTTP/HTTPS request that triggered the error.

xmlrpc.client.MultiCall

class xmlrpc.client.MultiCall(server) Create an object used to boxcar method calls. server is the eventual target of the call. Calls can be made to the result object, but they will immediately return None, and only store the call name and parameters in the MultiCall object. Calling the object itself causes all stored calls to be transmitted as a single system.multicall request. The result of this call is a generator; iterating over this generator yields the individual results.

xmlrpc.client.loads()

xmlrpc.client.loads(data, use_datetime=False, use_builtin_types=False) Convert an XML-RPC request or response into Python objects, a (params, methodname). params is a tuple of argument; methodname is a string, or None if no method name is present in the packet. If the XML-RPC packet represents a fault condition, this function will raise a Fault exception. The use_builtin_types flag can be used to cause date/time values to be presented as datetime.datetime objects and binary data to be presen

xmlrpc.client.Fault.faultString

faultString A string containing a diagnostic message associated with the fault.