curlSetOpt {RCurl} | R Documentation |
This function allows us to set values for the
possible options in the CURL data structure
that defines the HTTP request.
These options persist across calls in the
CURLHandle
object.
curlSetOpt(..., .opts = list(), curl = getCurlHandle())
... |
a named list of curl options to set after the handle has been created. |
.opts |
a named list or CURLOptions object identifying the
curl options for the handle. |
curl |
the CURLHandle object created earlier via
a call to getCurlHandle or dupCurlHandle |
An integer value giving the status of the return. This should be 0 as if there was an error in the libcurl mechiansim, we will throw it there.
Duncan Temple Lang <duncan@wald.ucdavis.edu>
Curl homepage http://curl.haxx.se