Skip to contents

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

curl_options(filter = "")

curl_options_table(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           ca_cache_timeout 
#>                      10097                        321 
#>                   certinfo         chunk_bgn_function 
#>                        172                      20198 
#>                 chunk_data         chunk_end_function 
#>                      10201                      20199 
#>            closesocketdata        closesocketfunction 
#>                      10209                      20208 
#>             connecttimeout          connecttimeout_ms 
#>                         78                        156 
#>               connect_only                 connect_to 
#>                        141                      10243 
#> conv_from_network_function    conv_from_utf8_function 
#>                      20142                      20144 
#>   conv_to_network_function                     cookie 
#>                      20143                      10022 
#>                 cookiefile                  cookiejar 
#>                      10031                      10082 
#>                 cookielist              cookiesession 
#>                      10135                         96 
#>             copypostfields                       crlf 
#>                      10165                         27 
#>                    crlfile                      curlu 
#>                      10169                      10282 
#>              customrequest                  debugdata 
#>                      10036                      10095 
#>              debugfunction           default_protocol 
#>                      20094                      10238 
#>                dirlistonly   disallow_username_in_url 
#>                         48                        278 
#>          dns_cache_timeout              dns_interface 
#>                         92                      10221 
#>              dns_local_ip4              dns_local_ip6 
#>                      10222                      10223 
#>                dns_servers      dns_shuffle_addresses 
#>                      10211                        275 
#>       dns_use_global_cache         doh_ssl_verifyhost 
#>                         91                        307 
#>         doh_ssl_verifypeer       doh_ssl_verifystatus 
#>                        306                        308 
#>                    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                    ftpport 
#>                         74                      10017 
#>                 ftpsslauth                ftp_account 
#>                        129                      10134 
#>    ftp_alternative_to_user    ftp_create_missing_dirs 
#>                      10147                        110 
#>             ftp_filemethod           ftp_skip_pasv_ip 
#>                        138                        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          haproxy_client_ip 
#>                        274                      10323 
#>                     header                 headerdata 
#>                         42                      10029 
#>             headerfunction                  headeropt 
#>                      20079                        229 
#>                       hsts               hstsreaddata 
#>                      10300                      10302 
#>           hstsreadfunction              hstswritedata 
#>                      20301                      10304 
#>          hstswritefunction                  hsts_ctrl 
#>                      20303                        299 
#>             http09_allowed             http200aliases 
#>                        285                      10104 
#>                   httpauth                    httpget 
#>                        107                         80 
#>                 httpheader                   httppost 
#>                      10023                      10024 
#>            httpproxytunnel      http_content_decoding 
#>                         61                        158 
#>     http_transfer_decoding               http_version 
#>                        157                         84 
#>      ignore_content_length                 infilesize 
#>                        136                         14 
#>           infilesize_large                  interface 
#>                      30115                      10062 
#>             interleavedata         interleavefunction 
#>                      10195                      20196 
#>                  ioctldata              ioctlfunction 
#>                      10131                      20130 
#>                  ipresolve                 issuercert 
#>                        113                      10170 
#>            issuercert_blob      keep_sending_on_error 
#>                      40295                        245 
#>                  keypasswd                   krblevel 
#>                      10026                      10063 
#>                  localport             localportrange 
#>                        139                        140 
#>              login_options            low_speed_limit 
#>                      10224                         19 
#>             low_speed_time                  mail_auth 
#>                         20                      10217 
#>                  mail_from                  mail_rcpt 
#>                      10186                      10187 
#>       mail_rcpt_allowfails                maxage_conn 
#>                        290                        288 
#>                maxconnects                maxfilesize 
#>                         71                        114 
#>          maxfilesize_large           maxlifetime_conn 
#>                      30117                        314 
#>                  maxredirs       max_recv_speed_large 
#>                         68                      30146 
#>       max_send_speed_large                   mimepost 
#>                      30145                      10269 
#>               mime_options                      netrc 
#>                        315                         51 
#>                 netrc_file        new_directory_perms 
#>                      10118                        160 
#>             new_file_perms                     nobody 
#>                        159                         44 
#>                 noprogress                    noproxy 
#>                         43                      10177 
#>                   nosignal             opensocketdata 
#>                         99                      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 
#>                   prequote                 prereqdata 
#>                      10093                      10313 
#>             prereqfunction                  pre_proxy 
#>                      20312                      10262 
#>                    private           progressfunction 
#>                      10103                      20056 
#>                  protocols              protocols_str 
#>                        181                      10318 
#>                      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 
#>                 quick_exit                      quote 
#>                        322                      10028 
#>                random_file                      range 
#>                      10076                      10007 
#>                   readdata               readfunction 
#>                      10009                      20012 
#>            redir_protocols        redir_protocols_str 
#>                        182                      10319 
#>                    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    server_response_timeout 
#>                      20167                        112 
#>               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_hostkeydata 
#>                        268                      10317 
#>        ssh_hostkeyfunction    ssh_host_public_key_md5 
#>                      20316                      10162 
#> ssh_host_public_key_sha256                ssh_keydata 
#>                      10311                      10185 
#>            ssh_keyfunction             ssh_knownhosts 
#>                      20184                      10183 
#>        ssh_private_keyfile         ssh_public_keyfile 
#>                      10153                      10152 
#>                    sslcert                sslcerttype 
#>                      10025                      10086 
#>               sslcert_blob                  sslengine 
#>                      40291                      10089 
#>          sslengine_default                     sslkey 
#>                         90                      10087 
#>                 sslkeytype                sslkey_blob 
#>                      10088                      40292 
#>                 sslversion            ssl_cipher_list 
#>                         32                      10083 
#>               ssl_ctx_data           ssl_ctx_function 
#>                      10109                      20108 
#>              ssl_ec_curves            ssl_enable_alpn 
#>                      10298                        226 
#>             ssl_enable_npn             ssl_falsestart 
#>                        225                        233 
#>                ssl_options        ssl_sessionid_cache 
#>                        216                        150 
#>             ssl_verifyhost             ssl_verifypeer 
#>                         81                         64 
#>           ssl_verifystatus                     stderr 
#>                        232                      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               transfertext 
#>                      20283                         53 
#>          transfer_encoding           unix_socket_path 
#>                        207                      10231 
#>          unrestricted_auth         upkeep_interval_ms 
#>                        105                        281 
#>                     upload          upload_buffersize 
#>                         46                        280 
#>                        url                  useragent 
#>                      10002                      10018 
#>                   username                    userpwd 
#>                      10173                      10005 
#>                    use_ssl                    verbose 
#>                        119                         41 
#>              wildcardmatch                  writedata 
#>                        197                      10001 
#>              writefunction                 ws_options 
#>                      20011                        320 
#>               xferinfodata           xferinfofunction 
#>                      10057                      20219 
#>             xoauth2_bearer 
#>                      10220 

# List proxy options
curl_options("proxy")
#>        haproxyprotocol      haproxy_client_ip        httpproxytunnel 
#>                    274                  10323                     61 
#>                noproxy              pre_proxy                  proxy 
#>                  10177                  10262                  10004 
#>              proxyauth            proxyheader          proxypassword 
#>                    111                  10228                  10176 
#>              proxyport              proxytype          proxyusername 
#>                     59                    101                  10175 
#>           proxyuserpwd           proxy_cainfo      proxy_cainfo_blob 
#>                  10006                  10246                  40310 
#>           proxy_capath          proxy_crlfile       proxy_issuercert 
#>                  10247                  10260                  10296 
#>  proxy_issuercert_blob        proxy_keypasswd  proxy_pinnedpublickey 
#>                  40297                  10258                  10263 
#>     proxy_service_name          proxy_sslcert      proxy_sslcerttype 
#>                  10235                  10254                  10255 
#>     proxy_sslcert_blob           proxy_sslkey       proxy_sslkeytype 
#>                  40293                  10256                  10257 
#>      proxy_sslkey_blob       proxy_sslversion  proxy_ssl_cipher_list 
#>                  40294                    250                  10259 
#>      proxy_ssl_options   proxy_ssl_verifyhost   proxy_ssl_verifypeer 
#>                    261                    249                    248 
#>    proxy_tls13_ciphers proxy_tlsauth_password     proxy_tlsauth_type 
#>                  10277                  10252                  10253 
#> proxy_tlsauth_username    proxy_transfer_mode 
#>                  10251                    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] "8.5.0"
#> 
#> $headers
#> [1] "8.5.0"
#> 
#> $ssl_version
#> [1] "OpenSSL/3.0.13"
#> 
#> $libz_version
#> [1] "1.3"
#> 
#> $libssh_version
#> [1] "libssh/0.10.6/openssl/zlib"
#> 
#> $libidn_version
#> [1] "2.3.7"
#> 
#> $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"    "rtmpe"   "rtmps"   "rtmpt"   "rtmpte"  "rtmpts" 
#> [22] "rtsp"    "scp"     "sftp"    "smb"     "smbs"    "smtp"    "smtps"  
#> [29] "telnet"  "tftp"   
#> 
#> $ipv6
#> [1] TRUE
#> 
#> $http2
#> [1] TRUE
#> 
#> $idn
#> [1] TRUE
#> 
#> $url_parser
#> [1] TRUE
#>