17#include <zypp-core/base/String.h>
18#include <zypp-core/base/Logger.h>
19#include <zypp-core/fs/WatchFile>
20#include <zypp-core/base/ReferenceCounted.h>
21#include <zypp-core/base/NonCopyable.h>
22#include <zypp-core/ExternalProgram.h>
23#include <zypp-media/MediaConfig>
25#include <zypp/APIConfig.h>
29#define CURL_BINARY "/usr/bin/curl"
57 static shared_ptr<Impl> _nullimpl(
new Impl );
62 friend Impl * rwcowClone<Impl>(
const Impl * rhs );
65 {
return new Impl( *
this ); }
106 {
if ( ! val_r.empty() )
_impl->_headers.push_back(val_r); }
109 {
if ( ! val_r.empty() )
_impl->_headers.push_back(std::move(val_r)); }
114 return _impl->_headers;
118 {
_impl->_useragent = val_r; }
121 {
_impl->_useragent = std::move(val_r); }
124 {
return _impl->_useragent; }
128 {
_impl->_username = val_r; }
131 {
_impl->_username = std::move(val_r); }
134 {
return _impl->_username; }
137 {
_impl->_password = val_r; }
140 {
_impl->_password = std::move(val_r); }
143 {
return _impl->_password; }
162 {
_impl->_useproxy = enabled; }
165 {
return _impl->_useproxy; }
169 {
_impl->_proxy = val_r; }
172 {
_impl->_proxy = std::move(val_r); }
175 {
return _impl->_proxy; }
179 {
_impl->_proxy_username = val_r; }
182 {
_impl->_proxy_username = std::move(val_r); }
185 {
return _impl->_proxy_username; }
188 {
_impl->_proxy_password = val_r; }
191 {
_impl->_proxy_password = std::move(val_r); }
194 {
return _impl->_proxy_password; }
207 {
_impl->_timeout = (t); }
210 {
return _impl->_timeout; }
214 {
_impl->_connect_timeout = (t); }
217 {
return _impl->_connect_timeout; }
221 {
_impl->_maxConcurrentConnections = (v); }
224 {
return _impl->_maxConcurrentConnections; }
228 {
_impl->_minDownloadSpeed = (v); }
231 {
return _impl->_minDownloadSpeed; }
235 {
_impl->_maxDownloadSpeed = (v); }
238 {
return _impl->_maxDownloadSpeed; }
242 {
_impl->_maxSilentTries = (v); }
245 {
return _impl->_maxSilentTries; }
249 {
_impl->_verify_host = (enabled); }
252 {
return _impl->_verify_host; }
256 {
_impl->_verify_peer = enabled; }
259 {
return _impl->_verify_peer; }
262 {
_impl->_client_cert_path = val_r; }
265 {
_impl->_client_cert_path = std::move( val_r ); }
268 {
return _impl->_client_cert_path; }
272 {
_impl->_client_key_path = val_r; }
275 {
_impl->_client_key_path = std::move( val_r ); }
278 {
return _impl->_client_key_path; }
282 {
_impl->_ca_path = val_r; }
285 {
_impl->_ca_path = std::move(val_r.asString()); }
288 {
return _impl->_ca_path; }
292 {
_impl->_authtype = val_r; }
295 {
_impl->_authtype = std::move(val_r); }
298 {
return _impl->_authtype; }
302 {
_impl->_head_requests_allowed = allowed; }
305 {
return _impl->_head_requests_allowed; }
Easy-to use interface to the ZYPP dependency resolver.