XMLRPCServer {rneos} | R Documentation |
Create an instance of an XMLRPCServer object
Description
The XMLRPCServer
class is a means to
identify a string as the URL of an XML-RPC server.
We can then use this to invoke a method provided
by the server either via a call to xml.rpc
or via an expression of the form
server$methodName(arg1, arg2, ...)
.
The XMLRPCServerConnection
class allows us to
associate a CURLHandle
object with an XML-RPC
server. This connection is then used in each of the
calls to that server. This allows us to reuse a single
curl connection to the server and also slightly simplifies
passing it to each call.
Usage
XMLRPCServer(url, curl = NULL,
class = if (!is.null(curl)) "XMLRPCServerConnection" else
"XMLRPCServer", ..., .opts = list(...))
Arguments
url |
the URL for the XML-RPC server. |
curl |
either a logical value indicating whether to create
a new |
class |
the name of the class to create. |
... |
name=value pairs of CURL options that are used to create a
new |
.opts |
an alternative way to specify the CURL options for the handle to be created. |
Value
An object of class given by the value of class
.
Author(s)
Duncan Temple Lang