Learn R Programming

clifro (version 3.2-5)

cf_curl_opts: Store curl options for use within clifro

Description

The cf_curl_opts function stores specific curl options that are used for all the clifro queries.

Usage

cf_curl_opts(..., .opts = list())

Arguments

...

a name-value pairs that are passed to RCurl curlOptions

.opts

a named list or CURLOptions object that are passed to RCurl curlOptions

Examples

Run this code
# NOT RUN {
# Specify options for use in all the curl handles created in clifro
cf_curl_opts(.opts = list(proxy = "http://xxxxx.yyyy.govt.nz:8080",
                          proxyusername  = "uid",
                          proxypassword  = "pwd",
                          ssl.verifypeer = FALSE))
# Or alternatively:
cf_curl_opts(proxy = "http://xxxxx.yyyy.govt.nz:8080",
             proxyusername  = "uid",
             proxypassword  = "pwd",
             ssl.verifypeer = FALSE)
# }

Run the code above in your browser using DataLab