curl_options: List curl version and options.

Description Usage Arguments Examples

View source: R/options.R

Description

curl_version() shows the versions of libcurl, libssl and zlib and supported protocols. curl_options() lists all options available in the current version of libcurl. The dataset curl_symbols lists all symbols (including options) provides more information about the symbols, including when support was added/removed from libcurl.

Usage

1
2
3
4
5

Arguments

filter

string: only return options with string in name

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Available options
curl_options()

# List proxy options
curl_options("proxy")

# Symbol table
curl_symbols("proxy")
# Curl/ssl version info
curl_version()

Example output

      abstract_unix_socket            accept_encoding 
                     10264                      10102 
          accepttimeout_ms              address_scope 
                       212                        171 
                    altsvc                altsvc_ctrl 
                     10287                        286 
                    append                autoreferer 
                        50                         58 
                buffersize                     cainfo 
                        98                      10065 
                    capath                   certinfo 
                     10097                        172 
        chunk_bgn_function                 chunk_data 
                     20198                      10201 
        chunk_end_function            closesocketdata 
                     20199                      10209 
       closesocketfunction               connect_only 
                     20208                        141 
                connect_to             connecttimeout 
                     10243                         78 
         connecttimeout_ms conv_from_network_function 
                       156                      20142 
   conv_from_utf8_function   conv_to_network_function 
                     20144                      20143 
                    cookie                 cookiefile 
                     10022                      10031 
                 cookiejar                 cookielist 
                     10082                      10135 
             cookiesession             copypostfields 
                        96                      10165 
                      crlf                    crlfile 
                        27                      10169 
                     curlu              customrequest 
                     10282                      10036 
                 debugdata              debugfunction 
                     10095                      20094 
          default_protocol                dirlistonly 
                     10238                         48 
  disallow_username_in_url          dns_cache_timeout 
                       278                         92 
             dns_interface              dns_local_ip4 
                     10221                      10222 
             dns_local_ip6                dns_servers 
                     10223                      10211 
     dns_shuffle_addresses       dns_use_global_cache 
                       275                         91 
                   doh_url                  egdsocket 
                     10279                      10077 
               errorbuffer      expect_100_timeout_ms 
                     10010                        227 
               failonerror                   filetime 
                        45                         69 
              fnmatch_data           fnmatch_function 
                     10202                      20200 
            followlocation               forbid_reuse 
                        52                         75 
             fresh_connect                ftp_account 
                        74                      10134 
   ftp_alternative_to_user    ftp_create_missing_dirs 
                     10147                        110 
            ftp_filemethod       ftp_response_timeout 
                       138                        112 
          ftp_skip_pasv_ip                ftp_ssl_ccc 
                       137                        154 
              ftp_use_eprt               ftp_use_epsv 
                       106                         85 
              ftp_use_pret                    ftpport 
                       188                      10017 
                ftpsslauth          gssapi_delegation 
                       129                        210 
 happy_eyeballs_timeout_ms            haproxyprotocol 
                       271                        274 
                    header                 headerdata 
                        42                      10029 
            headerfunction                  headeropt 
                     20079                        229 
            http09_allowed             http200aliases 
                       285                      10104 
     http_content_decoding     http_transfer_decoding 
                       158                        157 
              http_version                   httpauth 
                        84                        107 
                   httpget                 httpheader 
                        80                      10023 
                  httppost            httpproxytunnel 
                     10024                         61 
     ignore_content_length                 infilesize 
                       136                         14 
          infilesize_large                  interface 
                     30115                      10062 
            interleavedata         interleavefunction 
                     10195                      20196 
                 ioctldata              ioctlfunction 
                     10131                      20130 
                 ipresolve                 issuercert 
                       113                      10170 
     keep_sending_on_error                  keypasswd 
                       245                      10026 
                  krblevel                  localport 
                     10063                        139 
            localportrange              login_options 
                       140                      10224 
           low_speed_limit             low_speed_time 
                        19                         20 
                 mail_auth                  mail_from 
                     10217                      10186 
                 mail_rcpt       max_recv_speed_large 
                     10187                      30146 
      max_send_speed_large                maxage_conn 
                     30145                        288 
               maxconnects                maxfilesize 
                        71                        114 
         maxfilesize_large                  maxredirs 
                     30117                         68 
                  mimepost                      netrc 
                     10269                         51 
                netrc_file        new_directory_perms 
                     10118                        160 
            new_file_perms                     nobody 
                       159                         44 
                noprogress                    noproxy 
                        43                      10177 
                  nosignal                 obsolete40 
                        99                      10040 
                obsolete72             opensocketdata 
                        72                      10164 
        opensocketfunction                   password 
                     20163                      10174 
                path_as_is            pinnedpublickey 
                       234                      10230 
                  pipewait                       port 
                       237                          3 
                      post                 postfields 
                        47                      10015 
             postfieldsize        postfieldsize_large 
                        60                      30120 
                 postquote                  postredir 
                     10039                        161 
                 pre_proxy                   prequote 
                     10262                      10093 
                   private               progressdata 
                     10103                      10057 
          progressfunction                  protocols 
                     20056                        181 
                     proxy               proxy_cainfo 
                     10004                      10246 
              proxy_capath              proxy_crlfile 
                     10247                      10260 
           proxy_keypasswd      proxy_pinnedpublickey 
                     10258                      10263 
        proxy_service_name      proxy_ssl_cipher_list 
                     10235                      10259 
         proxy_ssl_options       proxy_ssl_verifyhost 
                       261                        249 
      proxy_ssl_verifypeer              proxy_sslcert 
                       248                      10254 
         proxy_sslcerttype               proxy_sslkey 
                     10255                      10256 
          proxy_sslkeytype           proxy_sslversion 
                     10257                        250 
       proxy_tls13_ciphers     proxy_tlsauth_password 
                     10277                      10252 
        proxy_tlsauth_type     proxy_tlsauth_username 
                     10253                      10251 
       proxy_transfer_mode                  proxyauth 
                       166                        111 
               proxyheader              proxypassword 
                     10228                      10176 
                 proxyport                  proxytype 
                        59                        101 
             proxyusername               proxyuserpwd 
                     10175                      10006 
                       put                      quote 
                        54                      10028 
               random_file                      range 
                     10076                      10007 
                  readdata               readfunction 
                     10009                      20012 
           redir_protocols                    referer 
                       182                      10016 
            request_target                    resolve 
                     10266                      10203 
       resolver_start_data    resolver_start_function 
                     10273                      20272 
               resume_from          resume_from_large 
                        21                      30116 
          rtsp_client_cseq               rtsp_request 
                       193                        189 
          rtsp_server_cseq            rtsp_session_id 
                       194                      10190 
           rtsp_stream_uri             rtsp_transport 
                     10191                      10192 
              sasl_authzid                    sasl_ir 
                     10289                        218 
                  seekdata               seekfunction 
                     10168                      20167 
              service_name                      share 
                     10236                      10100 
               sockoptdata            sockoptfunction 
                     10149                      20148 
               socks5_auth          socks5_gssapi_nec 
                       267                        180 
     socks5_gssapi_service             ssh_auth_types 
                     10179                        151 
           ssh_compression    ssh_host_public_key_md5 
                       268                      10162 
               ssh_keydata            ssh_keyfunction 
                     10185                      20184 
            ssh_knownhosts        ssh_private_keyfile 
                     10183                      10153 
        ssh_public_keyfile            ssl_cipher_list 
                     10152                      10083 
              ssl_ctx_data           ssl_ctx_function 
                     10109                      20108 
           ssl_enable_alpn             ssl_enable_npn 
                       226                        225 
            ssl_falsestart                ssl_options 
                       233                        216 
       ssl_sessionid_cache             ssl_verifyhost 
                       150                         81 
            ssl_verifypeer           ssl_verifystatus 
                        64                        232 
                   sslcert                sslcerttype 
                     10025                      10086 
                 sslengine          sslengine_default 
                     10089                         90 
                    sslkey                 sslkeytype 
                     10087                      10088 
                sslversion                     stderr 
                        32                      10037 
            stream_depends           stream_depends_e 
                     10240                      10241 
             stream_weight   suppress_connect_headers 
                       239                        265 
              tcp_fastopen              tcp_keepalive 
                       244                        213 
              tcp_keepidle              tcp_keepintvl 
                       214                        215 
               tcp_nodelay              telnetoptions 
                       121                      10070 
              tftp_blksize            tftp_no_options 
                       178                        242 
             timecondition                    timeout 
                        33                         13 
                timeout_ms                  timevalue 
                       155                         34 
           timevalue_large              tls13_ciphers 
                     30270                      10276 
          tlsauth_password               tlsauth_type 
                     10205                      10206 
          tlsauth_username                trailerdata 
                     10204                      10284 
           trailerfunction          transfer_encoding 
                     20283                        207 
              transfertext           unix_socket_path 
                        53                      10231 
         unrestricted_auth         upkeep_interval_ms 
                       105                        281 
                    upload          upload_buffersize 
                        46                        280 
                       url                    use_ssl 
                     10002                        119 
                 useragent                   username 
                     10018                      10173 
                   userpwd                    verbose 
                     10005                         41 
             wildcardmatch                  writedata 
                       197                      10001 
             writefunction           xferinfofunction 
                     20011                      20219 
            xoauth2_bearer 
                     10220 
       haproxyprotocol        httpproxytunnel                noproxy 
                   274                     61                  10177 
             pre_proxy                  proxy           proxy_cainfo 
                 10262                  10004                  10246 
          proxy_capath          proxy_crlfile        proxy_keypasswd 
                 10247                  10260                  10258 
 proxy_pinnedpublickey     proxy_service_name  proxy_ssl_cipher_list 
                 10263                  10235                  10259 
     proxy_ssl_options   proxy_ssl_verifyhost   proxy_ssl_verifypeer 
                   261                    249                    248 
         proxy_sslcert      proxy_sslcerttype           proxy_sslkey 
                 10254                  10255                  10256 
      proxy_sslkeytype       proxy_sslversion    proxy_tls13_ciphers 
                 10257                    250                  10277 
proxy_tlsauth_password     proxy_tlsauth_type proxy_tlsauth_username 
                 10252                  10253                  10251 
   proxy_transfer_mode              proxyauth            proxyheader 
                   166                    111                  10228 
         proxypassword              proxyport              proxytype 
                 10176                     59                    101 
         proxyusername           proxyuserpwd 
                 10175                  10006 
                               name introduced deprecated removed   value
141        CURL_VERSION_HTTPS_PROXY     7.52.0       <NA>    <NA> 2097152
200     CURLE_COULDNT_RESOLVE_PROXY        7.1       <NA>    <NA>       5
407 CURLINFO_PROXY_SSL_VERIFYRESULT     7.52.0       <NA>    <NA> 2097199
408        CURLINFO_PROXYAUTH_AVAIL     7.10.8       <NA>    <NA> 2097176
570         CURLOPT_HAPROXYPROTOCOL     7.60.0       <NA>    <NA>     274
584         CURLOPT_HTTPPROXYTUNNEL        7.3       <NA>    <NA>      61
624                 CURLOPT_NOPROXY     7.19.4       <NA>    <NA>   10177
644               CURLOPT_PRE_PROXY     7.52.0       <NA>    <NA>   10262
650                   CURLOPT_PROXY        7.1       <NA>    <NA>   10004
651            CURLOPT_PROXY_CAINFO     7.52.0       <NA>    <NA>   10246
652            CURLOPT_PROXY_CAPATH     7.52.0       <NA>    <NA>   10247
653           CURLOPT_PROXY_CRLFILE     7.52.0       <NA>    <NA>   10260
654         CURLOPT_PROXY_KEYPASSWD     7.52.0       <NA>    <NA>   10258
655   CURLOPT_PROXY_PINNEDPUBLICKEY     7.52.0       <NA>    <NA>   10263
656      CURLOPT_PROXY_SERVICE_NAME     7.43.0       <NA>    <NA>   10235
657   CURLOPT_PROXY_SSL_CIPHER_LIST     7.52.0       <NA>    <NA>   10259
658       CURLOPT_PROXY_SSL_OPTIONS     7.52.0       <NA>    <NA>     261
659    CURLOPT_PROXY_SSL_VERIFYHOST     7.52.0       <NA>    <NA>     249
660    CURLOPT_PROXY_SSL_VERIFYPEER     7.52.0       <NA>    <NA>     248
661           CURLOPT_PROXY_SSLCERT     7.52.0       <NA>    <NA>   10254
662       CURLOPT_PROXY_SSLCERTTYPE     7.52.0       <NA>    <NA>   10255
663            CURLOPT_PROXY_SSLKEY     7.52.0       <NA>    <NA>   10256
664        CURLOPT_PROXY_SSLKEYTYPE     7.52.0       <NA>    <NA>   10257
665        CURLOPT_PROXY_SSLVERSION     7.52.0       <NA>    <NA>     250
666     CURLOPT_PROXY_TLS13_CIPHERS     7.61.0       <NA>    <NA>   10277
667  CURLOPT_PROXY_TLSAUTH_PASSWORD     7.52.0       <NA>    <NA>   10252
668      CURLOPT_PROXY_TLSAUTH_TYPE     7.52.0       <NA>    <NA>   10253
669  CURLOPT_PROXY_TLSAUTH_USERNAME     7.52.0       <NA>    <NA>   10251
670     CURLOPT_PROXY_TRANSFER_MODE     7.18.0       <NA>    <NA>     166
671               CURLOPT_PROXYAUTH     7.10.7       <NA>    <NA>     111
672             CURLOPT_PROXYHEADER     7.37.0       <NA>    <NA>   10228
673           CURLOPT_PROXYPASSWORD     7.19.1       <NA>    <NA>   10176
674               CURLOPT_PROXYPORT        7.1       <NA>    <NA>      59
675               CURLOPT_PROXYTYPE       7.10       <NA>    <NA>     101
676           CURLOPT_PROXYUSERNAME     7.19.1       <NA>    <NA>   10175
677            CURLOPT_PROXYUSERPWD        7.1       <NA>    <NA>   10006
836                  CURLPROXY_HTTP       7.10       <NA>    <NA>       0
837              CURLPROXY_HTTP_1_0     7.19.4       <NA>    <NA>       1
838                 CURLPROXY_HTTPS     7.52.0       <NA>    <NA>       2
839                CURLPROXY_SOCKS4       7.10       <NA>    <NA>       4
840               CURLPROXY_SOCKS4A     7.18.0       <NA>    <NA>       6
841                CURLPROXY_SOCKS5       7.10       <NA>    <NA>       5
842       CURLPROXY_SOCKS5_HOSTNAME     7.18.0       <NA>    <NA>       7
       type
141    <NA>
200    <NA>
407    <NA>
408    <NA>
570 integer
584 integer
624  string
644  string
650  string
651  string
652  string
653  string
654  string
655  string
656  string
657  string
658 integer
659 integer
660 integer
661  string
662  string
663  string
664  string
665 integer
666  string
667  string
668  string
669  string
670 integer
671 integer
672  string
673  string
674 integer
675 integer
676  string
677  string
836    <NA>
837    <NA>
838    <NA>
839    <NA>
840    <NA>
841    <NA>
842    <NA>
$version
[1] "7.68.0"

$ssl_version
[1] "OpenSSL/1.1.1f"

$libz_version
[1] "1.2.11"

$libssh_version
[1] "libssh/0.9.3/openssl/zlib"

$libidn_version
[1] "2.2.0"

$host
[1] "x86_64-pc-linux-gnu"

$protocols
 [1] "dict"   "file"   "ftp"    "ftps"   "gopher" "http"   "https"  "imap"  
 [9] "imaps"  "ldap"   "ldaps"  "pop3"   "pop3s"  "rtmp"   "rtsp"   "scp"   
[17] "sftp"   "smb"    "smbs"   "smtp"   "smtps"  "telnet" "tftp"  

$ipv6
[1] TRUE

$http2
[1] TRUE

$idn
[1] TRUE

curl documentation built on June 23, 2021, 9:07 a.m.