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

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

Arguments

...

a name-value pairs that are passed to curlOptions

.opts

a named list or CURLOptions object that are passed to curlOptions

Examples

if (FALSE) { # 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) }