[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.
curl->version
curl->version(true)
Use the [curl->version] method.
Code
curl->version
Result
libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3
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)))
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/
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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments