19#include <zypp-core/fs/WatchFile>
23#include <zypp-media/MediaConfig>
29#define CURL_BINARY "/usr/bin/curl"
68 {
return new Impl( *
this ); }
75 if ( not val_r.empty() )
76 _headers.push_back( std::move(val_r) );
78 WAR <<
"Discard empty header" << endl;
120 {
_impl->safeAddHeader( val_r ); }
122 {
_impl->safeAddHeader( std::move(val_r) ); }
127 return _impl->_headers;
137 {
return _impl->_useragent; }
141 {
_impl->_username = val_r; }
144 {
_impl->_username = std::move(val_r); }
147 {
return _impl->_username; }
150 {
_impl->_password = val_r; }
153 {
_impl->_password = std::move(val_r); }
156 {
return _impl->_password; }
175 {
_impl->_useproxy = enabled; }
178 {
return _impl->_useproxy; }
182 {
_impl->_proxy = val_r; }
185 {
_impl->_proxy = std::move(val_r); }
188 {
return _impl->_proxy; }
192 {
_impl->_proxy_username = val_r; }
195 {
_impl->_proxy_username = std::move(val_r); }
198 {
return _impl->_proxy_username; }
201 {
_impl->_proxy_password = val_r; }
204 {
_impl->_proxy_password = std::move(val_r); }
207 {
return _impl->_proxy_password; }
220 {
_impl->_timeout = (t); }
223 {
return _impl->_timeout; }
227 {
_impl->_connect_timeout = (t); }
230 {
return _impl->_connect_timeout; }
234 {
_impl->_maxConcurrentConnections = (v); }
237 {
return _impl->_maxConcurrentConnections; }
241 {
_impl->_minDownloadSpeed = (v); }
244 {
return _impl->_minDownloadSpeed; }
248 {
_impl->_maxDownloadSpeed = (v); }
251 {
return _impl->_maxDownloadSpeed; }
255 {
_impl->_maxSilentTries = (v); }
258 {
return _impl->_maxSilentTries; }
262 {
_impl->_verify_host = (enabled); }
265 {
return _impl->_verify_host; }
269 {
_impl->_verify_peer = enabled; }
272 {
return _impl->_verify_peer; }
275 {
_impl->_client_cert_path = val_r; }
278 {
_impl->_client_cert_path = std::move( val_r ); }
281 {
return _impl->_client_cert_path; }
285 {
_impl->_client_key_path = val_r; }
288 {
_impl->_client_key_path = std::move( val_r ); }
291 {
return _impl->_client_key_path; }
295 {
_impl->_ca_path = val_r; }
298 {
_impl->_ca_path = std::move(val_r); }
301 {
return _impl->_ca_path; }
305 {
_impl->_authtype = val_r; }
308 {
_impl->_authtype = std::move(val_r); }
311 {
return _impl->_authtype; }
315 {
_impl->_head_requests_allowed = allowed; }
318 {
return _impl->_head_requests_allowed; }
std::string trim(const std::string &s, const Trim trim_r)
Easy-to use interface to the ZYPP dependency resolver.
Provides API related macros.