Overview
Identified by provider="CURL"
, this is a <TransportOption> specifying a low-level feature of the libcurl library.
Reference
Attributes
Names | Type | Req? | Description |
---|---|---|---|
option | integer | Y | A CURL option number, which can be determined by examining the curl.h header file and the set options page. |
Element Content
The content of the element is an option-specific string that depends on the option being set.
Examples
[Restrict transport to IPv4|https://curl.haxx.se/libcurl/c/CURLOPT_IPRESOLVE.html]
<TransportOption provider="CURL" option="113">1</TransportOption>
[Set transport timeout in seconds|https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT.html]
<TransportOption provider="CURL" option="13">120</TransportOption>
[Set HTTP proxy address|https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html]
<TransportOption provider="CURL" option="10004">proxy.example.org:8080</TransportOption>
Verify SSL certificate [SSL_VERIFYPEER|https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.html], [SSL_VERIFYHOST|https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYHOST.html], [CAINFO|https://curl.haxx.se/libcurl/c/CURLOPT_CAINFO.html]
<!-- Known to work with curl 7.26 and GnuTLS 2.12.20 (Debian 7.0) --> <TransportOption provider="CURL" option="64">1</TransportOption> <!--SSL_VERIFYPEER --> <TransportOption provider="CURL" option="81">2</TransportOption> <!-- SSL_VERIFY_HOST --> <TransportOption provider="CURL" option="10065">/etc/ssl/certs/ca-certificates.crt</TransportOption> <!-- CAINFO -->