Rev 85981 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File src/library/base/man/curlVersion.Rd% Part of the R package, https://www.R-project.org% Copyright 2015-2021 R Core Team% Distributed under GPL 2 or later\name{libcurlVersion}\alias{libcurlVersion}\title{Report Version of \I{libcurl}}\description{Report version of \code{libcurl} in use.}\usage{libcurlVersion()}\value{A character string, with value the \code{libcurl} version in use or\code{""} if none is. If \code{libcurl} is available, has attributes\item{ssl_version}{A character string naming the \abbr{SSL}/\abbr{TLS} implementationand version, possibly \code{"none"}. It is intended for the versionof \I{OpenSSL} used, but not all implementations of \code{libcurl} use\I{OpenSSL} --- for example macOS reports \code{"SecureTranspart"}, itswrapper for \abbr{SSL}/\abbr{TLS}.}\item{libssh_version}{A character string naming the \code{libssh} version,which may or may not be available (it is used fore.g.\sspace{}\code{scp} and \code{sftp} protocols). Where present,something like \code{"libssh2/1.5.0"}.}\item{protocols}{A character vector of the names of supportedprotocols, also known as \sQuote{schemes} when part of a URL.}}\section{Warning}{In late 2017 a \code{libcurl} installation was seen divided into twolibraries, \code{libcurl} and \code{libcurl-feature}, and the firsthad been updated but not the second. As the compiled functionrecording the version was in the latter, the version reported by\code{libcurlVersion} was misleading.}\seealso{\code{\link{extSoftVersion}} for versions of other third-partysoftware.\code{\link{curlGetHeaders}}, \code{\link{download.file}} and\code{\link{url}} for functions which (optionally) use \code{libcurl}.\url{https://curl.se/docs/sslcerts.html} and\url{https://curl.se/docs/ssl-compared.html} for more details on\abbr{SSL} versions (the current standard being known as \abbr{TLS}). Normally\code{libcurl} used with \R uses \I{SecureTransport} on macOS, \I{OpenSSL} onWindows and \I{GnuTLS}, \I{NSS} or \I{OpenSSL} on Unix-alikes. (At the time ofwriting Debian-based Linuxen use \I{GnuTLS} and \I{RedHat}-based ones use\I{OpenSSL}, having previously used \I{NSS}.)}\examples{libcurlVersion()}