File: curlVersion.Rd

package info (click to toggle)
r-cran-rcurl 1.95-4.8-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,140 kB
  • ctags: 515
  • sloc: ansic: 3,135; xml: 1,734; asm: 993; sh: 12; makefile: 2
file content (62 lines) | stat: -rw-r--r-- 2,331 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
\name{curlVersion}
\alias{curlVersion}
\title{Information describing the Curl library}
\description{
  This function queries the Curl library to provide information
  about its characteristics when it was compiled.
  This tells the user about its capabilities and can be used
  to determine strategies.
}
\usage{
curlVersion(id = 0)
}
\arguments{
  \item{id}{an integer value between 0 and 3 inclusive.
      The idea is that one specifies the identifier for the version of
      interest.
      In fact, all values seem to yield the same result.
     }
}
\value{
  A list
  \item{age}{integer giving the number of this libcurl, 0 is FIRST, 1 is
     SECOND, 2 is THIRD}
  \item{version}{the version identifier as a string, e.g. \code{"7.12.0"}}
  \item{version_num}{the value as an integer}
  \item{host}{the machine on which the libcurl was configured/built.}
  \item{features}{a named integer vector of bits indicating what
    features of libcurl were configured and built into this version.
    These are features such as
     ipv6, ssl, libz, largefile, ntlm (Microsoft "authorization").}
  \item{ssl_version}{the string identifying the SSL version.}
  \item{ssl_version_num}{the number identifying the SSL version}
  \item{libz_version}{the string identifying the version of libz.}
  \item{protocols}{a character vector of the supported HTTP protocols,
     e.g. http, https, ftp, ldap, gopher, telnet}
  \item{ares}{name of the asynchronous DNS (domain name service) lookup
    library. This is often simply the empty string indicating it is not there.
    }
  \item{ares_num}{the number for the ares library}
  \item{libidn}{the name of the IDN (internationalized domain names)
    library being used. This field only appears in version 3 of libcurl.
    If you are using version 2 (e.g. curl-7.11.2), this will be
    \code{NA}.
    An empty string indicates that the field is present, but has no value.
   }

  See the man page for \code{curl_version_info}
  for a description of these fields.
  \code{features} in R is a named integer vector
  detailing the different features.
}
\references{Curl homepage \url{http://curl.haxx.se}}
\author{Duncan Temple Lang <duncan@wald.ucdavis.edu>}

\seealso{
\code{curl_version_info} in the libcurl documentation.
}
\examples{
  curlVersion()
}
\keyword{IO}
\concept{reflectance}