module XmlRPCClient: sig end
Remote method invocation
|
new remote xmlrpc-server method
returns an object that can be
used to execute the foreign method. Its simple_call
method is
convienience for a function that only takes one argument, and
zero_call
for functions without arguments. call
must be used
for all others.
While there's nothing stopping people from using this class
directly, using functions generated by oxridl is much nicer and
simpler, because it handles the conversion btween XML-RPC types and
ml types automatically, for the most part. Please do so if possible.
Exceptions
|
exception Request_failed of string
XmlRPCTypes.Bad_type
) is raised if there's a
technical problem with the processing -- can't connect to the server,
the server returned something besides valid XML-RPC xml, or whatever.exception Request_fault of XmlRPCTypes.fault
XmlRPCTypes.xrs
with the fault information.
Remote calls
|
val client_version : string
class remote : string -> string -> object end