15 #define CURL_BINARY "/usr/bin/curl"
44 static shared_ptr<Impl> _nullimpl(
new Impl );
49 friend Impl * rwcowClone<Impl>(
const Impl * rhs );
52 {
return new Impl( *
this ); }
93 {
if ( ! val_r.empty() )
_impl->_headers.push_back( std::move(val_r) ); }
96 {
return _impl->_headers.begin(); }
99 {
return _impl->_headers.end(); }
103 {
_impl->_useragent = std::move(val_r); }
106 {
return _impl->_useragent; }
110 {
_impl->_username = std::move(val_r); }
113 {
return _impl->_username; }
116 {
_impl->_password = std::move(val_r); }
119 {
return _impl->_password; }
138 {
_impl->_useproxy = enabled; }
141 {
return _impl->_useproxy; }
145 {
_impl->_proxy = std::move(val_r); }
148 {
return _impl->_proxy; }
152 {
_impl->_proxy_username = std::move(val_r); }
155 {
return _impl->_proxy_username; }
158 {
_impl->_proxy_password = std::move(val_r); }
161 {
return _impl->_proxy_password; }
174 {
_impl->_timeout = t; }
177 {
return _impl->_timeout; }
181 {
_impl->_connect_timeout = t; }
184 {
return _impl->_connect_timeout; }
188 {
_impl->_maxConcurrentConnections = v; }
191 {
return _impl->_maxConcurrentConnections; }
195 {
_impl->_minDownloadSpeed = v; }
198 {
return _impl->_minDownloadSpeed; }
202 {
_impl->_maxDownloadSpeed = v; }
205 {
return _impl->_maxDownloadSpeed; }
209 {
_impl->_maxSilentTries = v; }
212 {
return _impl->_maxSilentTries; }
216 {
_impl->_verify_host = enabled; }
219 {
return _impl->_verify_host; }
223 {
_impl->_verify_peer = enabled; }
226 {
return _impl->_verify_peer; }
230 {
_impl->_client_cert_path = std::move(val_r); }
233 {
return _impl->_client_cert_path; }
237 {
_impl->_client_key_path = std::move(val_r); }
240 {
return _impl->_client_key_path; }
244 {
_impl->_ca_path = std::move(val_r); }
247 {
return _impl->_ca_path; }
251 {
_impl->_authtype = std::move(val_r); }
254 {
return _impl->_authtype; }
258 {
_impl->_head_requests_allowed = allowed; }
261 {
return _impl->_head_requests_allowed; }
Interim helper class to collect global options and settings.
Easy-to use interface to the ZYPP dependency resolver.