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.

curl_options(filter = "")

curl_symbols(filter = "")

curl_version()

Arguments

filter

string: only return options with string in name

Examples

# Available options
curl_options()
#>       abstract_unix_socket           accepttimeout_ms 
#>                      10264                        212 
#>            accept_encoding              address_scope 
#>                      10102                        171 
#>                     altsvc                altsvc_ctrl 
#>                      10287                        286 
#>                     append                autoreferer 
#>                         50                         58 
#>                  aws_sigv4                 buffersize 
#>                      10305                         98 
#>                     cainfo                cainfo_blob 
#>                      10065                      40309 
#>                     capath                   certinfo 
#>                      10097                        172 
#>         chunk_bgn_function                 chunk_data 
#>                      20198                      10201 
#>         chunk_end_function            closesocketdata 
#>                      20199                      10209 
#>        closesocketfunction             connecttimeout 
#>                      20208                         78 
#>          connecttimeout_ms               connect_only 
#>                        156                        141 
#>                 connect_to conv_from_network_function 
#>                      10243                      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_ssl_verifyhost         doh_ssl_verifypeer 
#>                        307                        306 
#>       doh_ssl_verifystatus                    doh_url 
#>                        308                      10279 
#>                  egdsocket                errorbuffer 
#>                      10077                      10010 
#>      expect_100_timeout_ms                failonerror 
#>                        227                         45 
#>                   filetime               fnmatch_data 
#>                         69                      10202 
#>           fnmatch_function             followlocation 
#>                      20200                         52 
#>               forbid_reuse              fresh_connect 
#>                         75                         74 
#>                    ftpport                 ftpsslauth 
#>                      10017                        129 
#>                ftp_account    ftp_alternative_to_user 
#>                      10134                      10147 
#>    ftp_create_missing_dirs             ftp_filemethod 
#>                        110                        138 
#>       ftp_response_timeout           ftp_skip_pasv_ip 
#>                        112                        137 
#>                ftp_ssl_ccc               ftp_use_eprt 
#>                        154                        106 
#>               ftp_use_epsv               ftp_use_pret 
#>                         85                        188 
#>          gssapi_delegation  happy_eyeballs_timeout_ms 
#>                        210                        271 
#>            haproxyprotocol                     header 
#>                        274                         42 
#>                 headerdata             headerfunction 
#>                      10029                      20079 
#>                  headeropt                       hsts 
#>                        229                      10300 
#>               hstsreaddata           hstsreadfunction 
#>                      10302                      20301 
#>              hstswritedata          hstswritefunction 
#>                      10304                      20303 
#>                  hsts_ctrl             http09_allowed 
#>                        299                        285 
#>             http200aliases                   httpauth 
#>                      10104                        107 
#>                    httpget                 httpheader 
#>                         80                      10023 
#>                   httppost            httpproxytunnel 
#>                      10024                         61 
#>      http_content_decoding     http_transfer_decoding 
#>                        158                        157 
#>               http_version      ignore_content_length 
#>                         84                        136 
#>                 infilesize           infilesize_large 
#>                         14                      30115 
#>                  interface             interleavedata 
#>                      10062                      10195 
#>         interleavefunction                  ioctldata 
#>                      20196                      10131 
#>              ioctlfunction                  ipresolve 
#>                      20130                        113 
#>                 issuercert            issuercert_blob 
#>                      10170                      40295 
#>      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      mail_rcpt_alllowfails 
#>                      10187                        290 
#>                maxage_conn                maxconnects 
#>                        288                         71 
#>                maxfilesize          maxfilesize_large 
#>                        114                      30117 
#>           maxlifetime_conn                  maxredirs 
#>                        314                         68 
#>       max_recv_speed_large       max_send_speed_large 
#>                      30146                      30145 
#>                   mimepost               mime_options 
#>                      10269                        315 
#>                      netrc                 netrc_file 
#>                         51                      10118 
#>        new_directory_perms             new_file_perms 
#>                        160                        159 
#>                     nobody                 noprogress 
#>                         44                         43 
#>                    noproxy                   nosignal 
#>                      10177                         99 
#>             opensocketdata         opensocketfunction 
#>                      10164                      20163 
#>                   password                 path_as_is 
#>                      10174                        234 
#>            pinnedpublickey                   pipewait 
#>                      10230                        237 
#>                       port                       post 
#>                          3                         47 
#>                 postfields              postfieldsize 
#>                      10015                         60 
#>        postfieldsize_large                  postquote 
#>                      30120                      10039 
#>                  postredir                   prequote 
#>                        161                      10093 
#>                 prereqdata             prereqfunction 
#>                      10313                      20312 
#>                  pre_proxy                    private 
#>                      10262                      10103 
#>           progressfunction                  protocols 
#>                      20056                        181 
#>                      proxy                  proxyauth 
#>                      10004                        111 
#>                proxyheader              proxypassword 
#>                      10228                      10176 
#>                  proxyport                  proxytype 
#>                         59                        101 
#>              proxyusername               proxyuserpwd 
#>                      10175                      10006 
#>               proxy_cainfo          proxy_cainfo_blob 
#>                      10246                      40310 
#>               proxy_capath              proxy_crlfile 
#>                      10247                      10260 
#>           proxy_issuercert      proxy_issuercert_blob 
#>                      10296                      40297 
#>            proxy_keypasswd      proxy_pinnedpublickey 
#>                      10258                      10263 
#>         proxy_service_name              proxy_sslcert 
#>                      10235                      10254 
#>          proxy_sslcerttype         proxy_sslcert_blob 
#>                      10255                      40293 
#>               proxy_sslkey           proxy_sslkeytype 
#>                      10256                      10257 
#>          proxy_sslkey_blob           proxy_sslversion 
#>                      40294                        250 
#>      proxy_ssl_cipher_list          proxy_ssl_options 
#>                      10259                        261 
#>       proxy_ssl_verifyhost       proxy_ssl_verifypeer 
#>                        249                        248 
#>        proxy_tls13_ciphers     proxy_tlsauth_password 
#>                      10277                      10252 
#>         proxy_tlsauth_type     proxy_tlsauth_username 
#>                      10253                      10251 
#>        proxy_transfer_mode                        put 
#>                        166                         54 
#>                      quote                random_file 
#>                      10028                      10076 
#>                      range                   readdata 
#>                      10007                      10009 
#>               readfunction            redir_protocols 
#>                      20012                        182 
#>                    referer             request_target 
#>                      10016                      10266 
#>                    resolve        resolver_start_data 
#>                      10203                      10273 
#>    resolver_start_function                resume_from 
#>                      20272                         21 
#>          resume_from_large           rtsp_client_cseq 
#>                      30116                        193 
#>               rtsp_request           rtsp_server_cseq 
#>                        189                        194 
#>            rtsp_session_id            rtsp_stream_uri 
#>                      10190                      10191 
#>             rtsp_transport               sasl_authzid 
#>                      10192                      10289 
#>                    sasl_ir                   seekdata 
#>                        218                      10168 
#>               seekfunction               service_name 
#>                      20167                      10236 
#>                      share                sockoptdata 
#>                      10100                      10149 
#>            sockoptfunction                socks5_auth 
#>                      20148                        267 
#>          socks5_gssapi_nec      socks5_gssapi_service 
#>                        180                      10179 
#>             ssh_auth_types            ssh_compression 
#>                        151                        268 
#>    ssh_host_public_key_md5 ssh_host_public_key_sha256 
#>                      10162                      10311 
#>                ssh_keydata            ssh_keyfunction 
#>                      10185                      20184 
#>             ssh_knownhosts        ssh_private_keyfile 
#>                      10183                      10153 
#>         ssh_public_keyfile                    sslcert 
#>                      10152                      10025 
#>                sslcerttype               sslcert_blob 
#>                      10086                      40291 
#>                  sslengine          sslengine_default 
#>                      10089                         90 
#>                     sslkey                 sslkeytype 
#>                      10087                      10088 
#>                sslkey_blob                 sslversion 
#>                      40292                         32 
#>            ssl_cipher_list               ssl_ctx_data 
#>                      10083                      10109 
#>           ssl_ctx_function              ssl_ec_curves 
#>                      20108                      10298 
#>            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 
#>                     stderr             stream_depends 
#>                      10037                      10240 
#>           stream_depends_e              stream_weight 
#>                      10241                        239 
#>   suppress_connect_headers               tcp_fastopen 
#>                        265                        244 
#>              tcp_keepalive               tcp_keepidle 
#>                        213                        214 
#>              tcp_keepintvl                tcp_nodelay 
#>                        215                        121 
#>              telnetoptions               tftp_blksize 
#>                      10070                        178 
#>            tftp_no_options              timecondition 
#>                        242                         33 
#>                    timeout                 timeout_ms 
#>                         13                        155 
#>                  timevalue            timevalue_large 
#>                         34                      30270 
#>              tls13_ciphers           tlsauth_password 
#>                      10276                      10205 
#>               tlsauth_type           tlsauth_username 
#>                      10206                      10204 
#>                trailerdata            trailerfunction 
#>                      10284                      20283 
#>               transfertext          transfer_encoding 
#>                         53                        207 
#>           unix_socket_path          unrestricted_auth 
#>                      10231                        105 
#>         upkeep_interval_ms                     upload 
#>                        281                         46 
#>          upload_buffersize                        url 
#>                        280                      10002 
#>                  useragent                   username 
#>                      10018                      10173 
#>                    userpwd                    use_ssl 
#>                      10005                        119 
#>                    verbose              wildcardmatch 
#>                         41                        197 
#>                  writedata              writefunction 
#>                      10001                      20011 
#>               xferinfodata           xferinfofunction 
#>                      10057                      20219 
#>             xoauth2_bearer 
#>                      10220 

# List proxy options
curl_options("proxy")
#>        haproxyprotocol        httpproxytunnel                noproxy 
#>                    274                     61                  10177 
#>              pre_proxy                  proxy              proxyauth 
#>                  10262                  10004                    111 
#>            proxyheader          proxypassword              proxyport 
#>                  10228                  10176                     59 
#>              proxytype          proxyusername           proxyuserpwd 
#>                    101                  10175                  10006 
#>           proxy_cainfo      proxy_cainfo_blob           proxy_capath 
#>                  10246                  40310                  10247 
#>          proxy_crlfile       proxy_issuercert  proxy_issuercert_blob 
#>                  10260                  10296                  40297 
#>        proxy_keypasswd  proxy_pinnedpublickey     proxy_service_name 
#>                  10258                  10263                  10235 
#>          proxy_sslcert      proxy_sslcerttype     proxy_sslcert_blob 
#>                  10254                  10255                  40293 
#>           proxy_sslkey       proxy_sslkeytype      proxy_sslkey_blob 
#>                  10256                  10257                  40294 
#>       proxy_sslversion  proxy_ssl_cipher_list      proxy_ssl_options 
#>                    250                  10259                    261 
#>   proxy_ssl_verifyhost   proxy_ssl_verifypeer    proxy_tls13_ciphers 
#>                    249                    248                  10277 
#> proxy_tlsauth_password     proxy_tlsauth_type proxy_tlsauth_username 
#>                  10252                  10253                  10251 
#>    proxy_transfer_mode 
#>                    166 

# Symbol table
curl_symbols("proxy")
#>                                name introduced deprecated removed   value
#> 157        CURL_VERSION_HTTPS_PROXY     7.52.0       <NA>    <NA> 2097152
#> 221     CURLE_COULDNT_RESOLVE_PROXY        7.1       <NA>    <NA>       5
#> 277                     CURLE_PROXY     7.73.0       <NA>    <NA>      97
#> 457            CURLINFO_PROXY_ERROR     7.73.0       <NA>    <NA> 2097211
#> 458 CURLINFO_PROXY_SSL_VERIFYRESULT     7.52.0       <NA>    <NA> 2097199
#> 459        CURLINFO_PROXYAUTH_AVAIL     7.10.8       <NA>    <NA> 2097176
#> 498             CURLINFO_USED_PROXY      8.7.0       <NA>    <NA> 2097218
#> 640       CURLOPT_HAPROXY_CLIENT_IP      8.2.0       <NA>    <NA>   10323
#> 641         CURLOPT_HAPROXYPROTOCOL     7.60.0       <NA>    <NA>     274
#> 661         CURLOPT_HTTPPROXYTUNNEL        7.3       <NA>    <NA>      61
#> 706                 CURLOPT_NOPROXY     7.19.4       <NA>    <NA>   10177
#> 726               CURLOPT_PRE_PROXY     7.52.0       <NA>    <NA>   10262
#> 735                   CURLOPT_PROXY        7.1       <NA>    <NA>   10004
#> 736            CURLOPT_PROXY_CAINFO     7.52.0       <NA>    <NA>   10246
#> 737       CURLOPT_PROXY_CAINFO_BLOB     7.77.0       <NA>    <NA>   40310
#> 738            CURLOPT_PROXY_CAPATH     7.52.0       <NA>    <NA>   10247
#> 739           CURLOPT_PROXY_CRLFILE     7.52.0       <NA>    <NA>   10260
#> 740        CURLOPT_PROXY_ISSUERCERT     7.71.0       <NA>    <NA>   10296
#> 741   CURLOPT_PROXY_ISSUERCERT_BLOB     7.71.0       <NA>    <NA>   40297
#> 742         CURLOPT_PROXY_KEYPASSWD     7.52.0       <NA>    <NA>   10258
#> 743   CURLOPT_PROXY_PINNEDPUBLICKEY     7.52.0       <NA>    <NA>   10263
#> 744      CURLOPT_PROXY_SERVICE_NAME     7.43.0       <NA>    <NA>   10235
#> 745   CURLOPT_PROXY_SSL_CIPHER_LIST     7.52.0       <NA>    <NA>   10259
#> 746       CURLOPT_PROXY_SSL_OPTIONS     7.52.0       <NA>    <NA>     261
#> 747    CURLOPT_PROXY_SSL_VERIFYHOST     7.52.0       <NA>    <NA>     249
#> 748    CURLOPT_PROXY_SSL_VERIFYPEER     7.52.0       <NA>    <NA>     248
#> 749           CURLOPT_PROXY_SSLCERT     7.52.0       <NA>    <NA>   10254
#> 750      CURLOPT_PROXY_SSLCERT_BLOB     7.71.0       <NA>    <NA>   40293
#> 751       CURLOPT_PROXY_SSLCERTTYPE     7.52.0       <NA>    <NA>   10255
#> 752            CURLOPT_PROXY_SSLKEY     7.52.0       <NA>    <NA>   10256
#> 753       CURLOPT_PROXY_SSLKEY_BLOB     7.71.0       <NA>    <NA>   40294
#> 754        CURLOPT_PROXY_SSLKEYTYPE     7.52.0       <NA>    <NA>   10257
#> 755        CURLOPT_PROXY_SSLVERSION     7.52.0       <NA>    <NA>     250
#> 756     CURLOPT_PROXY_TLS13_CIPHERS     7.61.0       <NA>    <NA>   10277
#> 757  CURLOPT_PROXY_TLSAUTH_PASSWORD     7.52.0       <NA>    <NA>   10252
#> 758      CURLOPT_PROXY_TLSAUTH_TYPE     7.52.0       <NA>    <NA>   10253
#> 759  CURLOPT_PROXY_TLSAUTH_USERNAME     7.52.0       <NA>    <NA>   10251
#> 760     CURLOPT_PROXY_TRANSFER_MODE     7.18.0       <NA>    <NA>     166
#> 761               CURLOPT_PROXYAUTH     7.10.7       <NA>    <NA>     111
#> 762             CURLOPT_PROXYHEADER     7.37.0       <NA>    <NA>   10228
#> 763           CURLOPT_PROXYPASSWORD     7.19.1       <NA>    <NA>   10176
#> 764               CURLOPT_PROXYPORT        7.1       <NA>    <NA>      59
#> 765               CURLOPT_PROXYTYPE       7.10       <NA>    <NA>     101
#> 766           CURLOPT_PROXYUSERNAME     7.19.1       <NA>    <NA>   10175
#> 767            CURLOPT_PROXYUSERPWD        7.1       <NA>    <NA>   10006
#> 953                  CURLPROXY_HTTP       7.10       <NA>    <NA>       0
#> 954              CURLPROXY_HTTP_1_0     7.19.4       <NA>    <NA>       1
#> 955                 CURLPROXY_HTTPS     7.52.0       <NA>    <NA>       2
#> 956                CURLPROXY_HTTPS2      8.1.0       <NA>    <NA>       3
#> 957                CURLPROXY_SOCKS4       7.10       <NA>    <NA>       4
#> 958               CURLPROXY_SOCKS4A     7.18.0       <NA>    <NA>       6
#> 959                CURLPROXY_SOCKS5       7.10       <NA>    <NA>       5
#> 960       CURLPROXY_SOCKS5_HOSTNAME     7.18.0       <NA>    <NA>       7
#>        type
#> 157    <NA>
#> 221    <NA>
#> 277    <NA>
#> 457    <NA>
#> 458    <NA>
#> 459    <NA>
#> 498    <NA>
#> 640  string
#> 641 integer
#> 661 integer
#> 706  string
#> 726  string
#> 735  string
#> 736  string
#> 737 unknown
#> 738  string
#> 739  string
#> 740  string
#> 741 unknown
#> 742  string
#> 743  string
#> 744  string
#> 745  string
#> 746 integer
#> 747 integer
#> 748 integer
#> 749  string
#> 750 unknown
#> 751  string
#> 752  string
#> 753 unknown
#> 754  string
#> 755 integer
#> 756  string
#> 757  string
#> 758  string
#> 759  string
#> 760 integer
#> 761 integer
#> 762  string
#> 763  string
#> 764 integer
#> 765 integer
#> 766  string
#> 767  string
#> 953    <NA>
#> 954    <NA>
#> 955    <NA>
#> 956    <NA>
#> 957    <NA>
#> 958    <NA>
#> 959    <NA>
#> 960    <NA>
# Curl/ssl version info
curl_version()
#> $version
#> [1] "7.81.0"
#> 
#> $headers
#> [1] "7.81.0"
#> 
#> $ssl_version
#> [1] "OpenSSL/3.0.2"
#> 
#> $libz_version
#> [1] "1.2.11"
#> 
#> $libssh_version
#> [1] "libssh/0.9.6/openssl/zlib"
#> 
#> $libidn_version
#> [1] "2.3.2"
#> 
#> $host
#> [1] "x86_64-pc-linux-gnu"
#> 
#> $protocols
#>  [1] "dict"    "file"    "ftp"     "ftps"    "gopher"  "gophers" "http"   
#>  [8] "https"   "imap"    "imaps"   "ldap"    "ldaps"   "mqtt"    "pop3"   
#> [15] "pop3s"   "rtmp"    "rtsp"    "scp"     "sftp"    "smb"     "smbs"   
#> [22] "smtp"    "smtps"   "telnet"  "tftp"   
#> 
#> $ipv6
#> [1] TRUE
#> 
#> $http2
#> [1] TRUE
#> 
#> $idn
#> [1] TRUE
#> 
#> $url_parser
#> [1] TRUE
#>