cf_curl_opts: Store curl options for use within 'clifro'

Description Usage Arguments Examples

View source: R/cfUser.R

Description

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

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## 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)

## End(Not run)

Example output



clifro documentation built on May 24, 2021, 9:06 a.m.