xmlrpc {xmlrpc2} | R Documentation |
Call the Remote Procedure
Description
Call a reomte procedure with the XML-RPC
protocol.
Usage
xmlrpc(url, method, params = list(), handle = NULL, opts = list(),
convert = TRUE, useragent = "xmlrpc", raise_error = TRUE)
Arguments
url |
a character string giving the url to the server. |
method |
a character string giving the name of the method to be invoked. |
params |
a list containing the parmeters which are added to
the |
handle |
a object of class |
opts |
a list of options passed to the function |
convert |
a logical, if convert is |
useragent |
a character string giving the name of the |
raise_error |
a logical controling the behavior if the status code
of |
Value
the reponse of curl
or the response converted to
R objects.
Examples
## Not run:
url <- "https://www.neos-server.org"
xmlrpc(url, "listAllSolvers")
xmlrpc(url, "listSolversInCategory", params = list(category = "socp"))
## End(Not run)