R: Report Version of libcurl (original) (raw)
libcurlVersion {base} | R Documentation |
---|
Description
Report version of libcurl
in use.
Usage
libcurlVersion()
Value
A character string, with value the libcurl
version in use or""
if none is. If libcurl
is available, has attributes
ssl_version | A character string naming the SSL/TLS implementation and version, possibly "none". It is intended for the version of OpenSSL used, but not all implementations of libcurl use OpenSSL — for example macOS reports "SecureTranspart", its wrapper for SSL/TLS. |
---|---|
libssh_version | A character string naming the libssh version, which may or may not be available (it is used for e.g. scp and sftp protocols). Where present, something like "libssh2/1.5.0". |
protocols | A character vector of the names of supported protocols, also known as ‘schemes’ when part of a URL. |
Warning
In late 2017 a libcurl
installation was seen divided into two libraries, libcurl
and libcurl-feature
, and the first had been updated but not the second. As the compiled function recording the version was in the latter, the version reported bylibcurlVersion
was misleading.
See Also
[extSoftVersion](../../base/help/extSoftVersion.html)
for versions of other third-party software.
[curlGetHeaders](../../base/help/curlGetHeaders.html)
, [download.file](../../utils/html/download.file.html)
and[url](../../base/help/url.html)
for functions which (optionally) use libcurl
.
https://curl.se/docs/sslcerts.html andhttps://curl.se/docs/ssl-compared.html for more details onSSL versions (the current standard being known as TLS). Normallylibcurl
used with R uses SecureTransport on macOS, OpenSSL on Windows and GnuTLS, NSS or OpenSSL on Unix-alikes. (At the time of writing Debian-based Linuxen use GnuTLS and RedHat-based ones use OpenSSL, having previously used NSS.)
Examples
libcurlVersion()
[Package _base_ version 4.6.0 Index]