Set the libcurl connection options like a proxy and CA path.
#include <curl_transport.hpp>
|
Azure::Nullable< std::string > | Proxy |
| The string for the proxy is passed directly to the libcurl handle without any parsing.
|
|
Azure::Nullable< std::string > | ProxyUsername |
| Username to be used for proxy connections.
|
|
Azure::Nullable< std::string > | ProxyPassword |
| Password to be used for proxy connections.
|
|
std::string | CAInfo |
| Path to a PEM encoded file containing the certificate authorities sent to libcurl handle directly.
|
|
std::string | CAPath |
| Path to a directory which holds PEM encoded file, containing the certificate authorities sent to libcurl handle directly.
|
|
bool | HttpKeepAlive = true |
| All HTTP requests will keep the connection channel open to the service.
|
|
bool | SslVerifyPeer = true |
| This option determines whether libcurl verifies the authenticity of the peer's certificate.
|
|
CurlTransportSslOptions | SslOptions |
| Define the SSL options for the libcurl handle.
|
|
bool | NoSignal = false |
| When true, libcurl will not use any functions that install signal handlers or any functions that cause signals to be sent to the process.
|
|
std::chrono::milliseconds | ConnectionTimeout = _detail::DefaultConnectionTimeout |
| Contain the maximum time that you allow the connection phase to the server to take.
|
|
bool | EnableCurlTracing = false |
| If set, integrates libcurl's internal tracing with Azure logging.
|
|
std::string Azure::Core::Http::CurlTransportOptions::CAInfo |
std::string Azure::Core::Http::CurlTransportOptions::CAPath |
◆ ConnectionTimeout
std::chrono::milliseconds Azure::Core::Http::CurlTransportOptions::ConnectionTimeout = _detail::DefaultConnectionTimeout |
This only limits the connection phase, it has no impact once it has connected.
◆ HttpKeepAlive
bool Azure::Core::Http::CurlTransportOptions::HttpKeepAlive = true |
bool Azure::Core::Http::CurlTransportOptions::NoSignal = false |
This option is here to allow multi-threaded unix applications to still set/use all timeout options etc, without risking getting signals.
Azure::Nullable<std::string> Azure::Core::Http::CurlTransportOptions::Proxy |
libcurl will use system's environment proxy configuration (if it is set) when the Proxy
setting is not set (is null). Setting an empty string will make libcurl to ignore any proxy settings from the system (use no proxy).
◆ ProxyPassword
Azure::Nullable<std::string> Azure::Core::Http::CurlTransportOptions::ProxyPassword |
◆ ProxyUsername
Azure::Nullable<std::string> Azure::Core::Http::CurlTransportOptions::ProxyUsername |
◆ SslVerifyPeer
bool Azure::Core::Http::CurlTransportOptions::SslVerifyPeer = true |
The documentation for this struct was generated from the following file:
ncG1vNJzZmiZqqq%2Fpr%2FDpJuom6Njr627wWeaqKqVY8SqusOorqxmnprBcHDWnplom6ClfKLG1KucZpufp7JwuMCtnKysX6jBs8HCrZaasqWnsqB9vmqWnKeimqxyq5CYn62soJR%2BoH2%2BnKyrpI%2Bpv6K60qmmq6yPpL21tc6nqmegpKK5