19#include <zypp-core/fs/WatchFile> 
   23#include <zypp-media/MediaConfig> 
   29#define CURL_BINARY "/usr/bin/curl" 
   69      { 
return new Impl( *
this ); }
 
 
   76        if ( not val_r.empty() )
 
   77          _headers.push_back( std::move(val_r) );
 
   79          WAR << 
"Discard empty header" << endl;
 
 
 
  123    { 
_impl->safeAddHeader( val_r ); }
 
 
  125    { 
_impl->safeAddHeader( std::move(val_r) ); }
 
 
  130      return _impl->_headers;
 
 
  140    { 
return _impl->_useragent; }
 
 
  144    { 
_impl->_username = val_r; }
 
 
  147    { 
_impl->_username = std::move(val_r); }
 
 
  150    { 
return _impl->_username; }
 
 
  153    { 
_impl->_password = val_r; }
 
 
  156    { 
_impl->_password = std::move(val_r); }
 
 
  159    { 
return _impl->_password; }
 
 
  178    { 
_impl->_useproxy = enabled; }
 
 
  181    { 
return _impl->_useproxy; }
 
 
  185    { 
_impl->_proxy = val_r; }
 
 
  188    { 
_impl->_proxy = std::move(val_r); }
 
 
  191    { 
return _impl->_proxy; }
 
 
  195    { 
_impl->_proxy_username = val_r; }
 
 
  198    { 
_impl->_proxy_username = std::move(val_r); }
 
 
  201    { 
return _impl->_proxy_username; }
 
 
  204    { 
_impl->_proxy_password = val_r; }
 
 
  207    { 
_impl->_proxy_password = std::move(val_r); }
 
 
  210    { 
return _impl->_proxy_password; }
 
 
  223    { 
_impl->_timeout = (t); }
 
 
  226    { 
return _impl->_timeout; }
 
 
  230    { 
_impl->_connect_timeout = (t); }
 
 
  233    { 
return _impl->_connect_timeout; }
 
 
  237    { 
_impl->_maxConcurrentConnections = (v); }
 
 
  240    { 
return _impl->_maxConcurrentConnections; }
 
 
  244    { 
_impl->_minDownloadSpeed = (v); }
 
 
  247    { 
return _impl->_minDownloadSpeed; }
 
 
  251    { 
_impl->_maxDownloadSpeed = (v); }
 
 
  254    { 
return _impl->_maxDownloadSpeed; }
 
 
  258    { 
_impl->_maxSilentTries = (v); }
 
 
  261    { 
return _impl->_maxSilentTries; }
 
 
  265    { 
_impl->_verify_host = (enabled); }
 
 
  268    { 
return _impl->_verify_host; }
 
 
  272    { 
_impl->_verify_peer = enabled; }
 
 
  275    { 
return _impl->_verify_peer; }
 
 
  278    { 
_impl->_client_cert_path = val_r; }
 
 
  281    { 
_impl->_client_cert_path = std::move( val_r ); }
 
 
  284    { 
return _impl->_client_cert_path; }
 
 
  288    { 
_impl->_client_key_path = val_r; }
 
 
  291    { 
_impl->_client_key_path = std::move( val_r ); }
 
 
  294    { 
return _impl->_client_key_path; }
 
 
  297    { 
_impl->_enableCookieFile = enable; }
 
 
  300    { 
return _impl->_enableCookieFile; }
 
 
  303    { 
_impl->_ca_path = val_r; }
 
 
  306    { 
_impl->_ca_path = std::move(val_r); }
 
 
  309    { 
return _impl->_ca_path; }
 
 
  313    { 
_impl->_authtype = val_r; }
 
 
  316    { 
_impl->_authtype = std::move(val_r); }
 
 
  319    { 
return _impl->_authtype; }
 
 
  323    { 
_impl->_head_requests_allowed = allowed; }
 
 
  326    { 
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.