Lasso Soft Inc. > Home

[ curl->version ]

Method

[curl->version] returns a human readable string with the version number of libcurl and some of its important components (like OpenSSL version).

If the boolean true is passed as a parameter, detailed information will be returned instead, as a static array.

  • Syntax
curl->version
curl->version(true)
Examples
  • Beginner

To determine the precise version of the installed curl library

Use the [curl->version] method.

Code

curl->version

Result

libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3

To retrieve detailed information about the currently installed curl library

Use [curl->version(true)]. This will return a static array for convenience.

Code

curl->version(true)

Result

staticarray((age = 3), (version_num = 464896), (ssl_version_num = 0), (ares_num = 0), (version = 7.24.0), (host = x86_64-apple-darwin12.0), (ssl_version = OpenSSL/0.9.8r), (libz_version = 1.2.5), (ares = ), (libidn = ), (protocols = staticarray(dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtsp, smtp, smtps, telnet, tftp)))
Resources
  • Tips

If you experience problems while using the curl library, then look at the documentation for libcurl. There are features depending on the actual version installed on your host.

libcurl documentation: http://curl.haxx.se/

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft