PyDocs

Nav

Internet Protocols and Support

ServerProxy

xmlrpc.client

class (source) not WASI
  • ServerProxy(uri, transport=None, encoding=None, verbose=False, allow_none=False, use_datetime=False, use_builtin_types=False, *, headers=(), context=None)
uri [,options] -> a logical connection to an XML-RPC server

uri is the connection point on the server, given as
scheme://host/target.

The standard implementation always supports the "http" scheme.  If
SSL socket support is available (Python 2.0), it also supports
"https".

If the target part and the slash preceding it are both omitted,
"/RPC2" is assumed.

The following options can be given as keyword arguments:

    transport: a transport factory
    encoding: the request encoding (default is UTF-8)

All 8-bit strings passed to the server proxy are assumed to use
the given encoding.
Changed in 3.3, 3.5, 3.6, 3.8
  • 3.3: The use_builtin_types flag was added.
  • 3.5: Added the context argument.
  • 3.6: Added support of type tags with prefixes (e.g. ex:nil). Added support of unmarshalling additional types used by Apache XML-RPC implementation for numerics: i1, i2, i8, biginteger, float and bigdecimal. See https://ws.apache.org/xmlrpc/types.html for a description.
  • 3.8: The headers parameter was added.
Members of ServerProxy

s

system.listMethods
This method returns a list of strings, one for each (non-system) method supported by the XML-RPC server.
system.methodHelp
This method takes one parameter, the name of a method implemented by the XML-RPC server.
system.methodSignature
This method takes one parameter, the name of a method implemented by the XML-RPC server.
0 Examples
No examples for xmlrpc.client/ServerProxy.
See Also
No see-alsos for xmlrpc.client/ServerProxy
0 Notes
No notes for ServerProxy