CURLTransport

Overview

Identified by provider="CURL", this is a <TransportOption> specifying a low-level feature of the libcurl library.

Reference

Attributes

Names

Type

Req?

Description

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
<TransportOption provider="CURL" option="113">1</TransportOption>
Set transport timeout in seconds
<TransportOption provider="CURL" option="13">120</TransportOption>
Set HTTP proxy address
<TransportOption provider="CURL" option="10004">proxy.example.org:8080</TransportOption>
Verify SSL certificate SSL_VERIFYPEER, SSL_VERIFYHOST, CAINFO
Download metadata from a webserver that enforced HTTP Basic authentication by setting CURL authentication method, username and password