getCurlHandle {RCurl} | R Documentation |
These functions create and duplicate curl handles for use in calls to the HTTP facilities provided by that low-level language and this R-level interface. A curl handle is an opaque data type that contains a reference to the internal C-level data structure of libcurl for performing HTTP requests.
The getCurlMutliHandle
returns an object
that can be used for concurrent, multiple requests.
It is quite different from the regular curl handle
and again, should be treated as an opaque data type.
getCurlHandle(..., .opts = NULL) dupCurlHandle(curl, ..., .opts = NULL)
curl |
the existing curl handle that is to be duplicated |
... |
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. These and the ... arguments are
used after the handle has been created. |
These functions create C-level data structures.
An object of class CURLHandle
which is simply a pointer to the memory for the C
structure.
Duncan Temple Lang <duncan@wald.ucdavis.edu>
Curl homepage http://curl.haxx.se