Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/CreateNeosComm.R
This function creates an object of class NeosComm
that will
contain all necessary information for dealing with HTTP requests to
NEOS. This object will be needed in all requests to NEOS and hence
must be created in advance of XML-RPC requests.
1 2 3 | CreateNeosComm(curlopts = list(httpheader = c(`Content-Type` =
"text/xml", `User-Agent` = "R"), port = 3333), curlhandle =
getCurlHandle())
|
curlopts |
A named list of elements that are passed as options to
curl. By default, the |
curlhandle |
An object of class |
A list of valid curl
options can be retrieved from
listCurlOptions()
. Please note, that the relevant HTTP-bodies
within the requests will be created directly in the API-functions
provided in this package and must not be provided as list elements in
curloptions
. However, if one accesses NEOS via a
Proxy-Server, for instance, than the values for the relevant options
must be set within the list-argument curlopts
.
The values of the returned object will be passed down to the function
xml.rpc()
which is utilised for all calls to the function
Nfoo
contained in this package. Hereby, foo
signify the
name of NEOS-API.
An object of class NeosComm
.
Bernhard Pfaff
NEOS API: https://neos-server.org/neos/xml-rpc.html
1 2 3 4 5 | ## Not run:
nc <- CreateNeosComm()
nc
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.