Options
All
  • Public
  • Public/Protected
  • All
Menu

This is the data returned on Curl.getVersionInfo.

It's basically the output of curl_version_info()

Hierarchy

  • CurlVersionInfoNativeBindingObject

Index

Properties

aresVersion

aresVersion: string | null

cares human readable version string Will be null if libcurl was not built with cares

aresVersionNumber

aresVersionNumber: number

cares version number Will be null if libcurl was not built with cares

brotliVersion

brotliVersion: string | null

brotli human readable version string Will be null if libcurl was not built with brotli

brotliVersionNumber

brotliVersionNumber: number

brotli version number Will be 0 if libcurl was not built with brotli

features

features: string[]

List of features supported. Example:

[
 'AsynchDNS', 'IDN',
 'IPv6',      'Largefile',
 'SSPI',      'Kerberos',
 'SPNEGO',    'NTLM',
 'SSL',       'libz',
 'HTTP2',     'HTTPS-proxy'
]

iconvVersionNumber

iconvVersionNumber: number

iconv version number Will be 0 if libcurl was not built with iconv

libidnVersion

libidnVersion: string | null

libidn human readable version string Will be null if libcurl was not built with libidn

libsshVersion

libsshVersion: string | null

libssh human readable version string Will be null if libcurl was not built with libssh

libzVersion

libzVersion: string

libz human readable version string

protocols

protocols: string[]

List of protocols supported. Example:

[
 'dict',  'file',   'ftp',
 'ftps',  'gopher', 'http',
 'https', 'imap',   'imaps',
 'ldap',  'ldaps',  'pop3',
 'pop3s', 'rtsp',   'scp',
 'sftp',  'smb',    'smbs',
 'smtp',  'smtps',  'telnet',
 'tftp'
]

rawFeatures

rawFeatures: CurlVersion

Raw feature flags

sslVersion

sslVersion: string

SSL library human readable version string

sslVersionNum

sslVersionNum: 0

This is not used - Will always be 0

version

version: string

Libcurl version. Example:

7.69.1-DEV

versionNumber

versionNumber: number

Integer representation of libcurl version, created like this:

<8 bits major number> | <8 bits minor number> | <8 bits patch number>.

Version 7.69.1 is therefore returned as 0x074501.

Generated using TypeDoc