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"
65 {
return new Impl( *
this ); }
75 WAR <<
"Discard empty header" << endl;
124 return _impl->_headers;
134 {
return _impl->_useragent; }
144 {
return _impl->_username; }
153 {
return _impl->_password; }
172 {
_impl->_useproxy = enabled; }
175 {
return _impl->_useproxy; }
185 {
return _impl->_proxy; }
192 {
_impl->_proxy_username = std::move(
val_r); }
195 {
return _impl->_proxy_username; }
201 {
_impl->_proxy_password = std::move(
val_r); }
204 {
return _impl->_proxy_password; }
217 {
_impl->_timeout = (
t); }
220 {
return _impl->_timeout; }
224 {
_impl->_connect_timeout = (
t); }
227 {
return _impl->_connect_timeout; }
231 {
_impl->_maxConcurrentConnections = (
v); }
234 {
return _impl->_maxConcurrentConnections; }
238 {
_impl->_minDownloadSpeed = (
v); }
241 {
return _impl->_minDownloadSpeed; }
245 {
_impl->_maxDownloadSpeed = (
v); }
248 {
return _impl->_maxDownloadSpeed; }
252 {
_impl->_maxSilentTries = (
v); }
255 {
return _impl->_maxSilentTries; }
259 {
_impl->_verify_host = (enabled); }
262 {
return _impl->_verify_host; }
266 {
_impl->_verify_peer = enabled; }
269 {
return _impl->_verify_peer; }
275 {
_impl->_client_cert_path = std::move(
val_r ); }
278 {
return _impl->_client_cert_path; }
285 {
_impl->_client_key_path = std::move(
val_r ); }
288 {
return _impl->_client_key_path; }
295 {
_impl->_ca_path = std::move(
val_r.asString()); }
298 {
return _impl->_ca_path; }
308 {
return _impl->_authtype; }
315 {
return _impl->_head_requests_allowed; }
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
void reset()
Reset to default Ctor values.
std::string trim(const std::string &s, const Trim trim_r)
Easy-to use interface to the ZYPP dependency resolver.