|
libzypp 17.37.1
|
#include <zypp-curl/proxyinfo.h>
Classes | |
| struct | Impl |
Public Types | |
| using | Ptr = intrusive_ptr<ProxyInfo> |
| using | constPtr = intrusive_ptr<ProxyInfo> |
| using | NoProxyList = std::list<std::string> |
| using | NoProxyIterator = std::list<std::string>::const_iterator |
| using | ImplPtr = shared_ptr<Impl> |
Public Member Functions | |
| ProxyInfo () | |
| Default Ctor: guess the best available implementation. | |
| ProxyInfo (ProxyInfo::ImplPtr pimpl_r) | |
| Ctor taking a specific implementation. | |
| bool | enabled () const |
| std::string | proxy (const Url &url) const |
| NoProxyList | noProxy () const |
| NoProxyIterator | noProxyBegin () const |
| NoProxyIterator | noProxyEnd () const |
| bool | useProxyFor (const Url &url_r) const |
Return true if enabled and url_r does not match noProxy. | |
Private Attributes | |
| RW_pointer< Impl > | _pimpl |
| Pointer to implementation. | |
Definition at line 29 of file proxyinfo.h.
Definition at line 32 of file proxyinfo.h.
Definition at line 33 of file proxyinfo.h.
| using zypp::media::ProxyInfo::NoProxyList = std::list<std::string> |
Definition at line 34 of file proxyinfo.h.
| using zypp::media::ProxyInfo::NoProxyIterator = std::list<std::string>::const_iterator |
Definition at line 35 of file proxyinfo.h.
Definition at line 39 of file proxyinfo.h.
| zypp::media::ProxyInfo::ProxyInfo | ( | ) |
Default Ctor: guess the best available implementation.
Definition at line 29 of file proxyinfo.cc.
| zypp::media::ProxyInfo::ProxyInfo | ( | ProxyInfo::ImplPtr | pimpl_r | ) |
Ctor taking a specific implementation.
Definition at line 37 of file proxyinfo.cc.
| bool zypp::media::ProxyInfo::enabled | ( | ) | const |
Definition at line 41 of file proxyinfo.cc.
| std::string zypp::media::ProxyInfo::proxy | ( | const Url & | url | ) | const |
Definition at line 44 of file proxyinfo.cc.
| ProxyInfo::NoProxyList zypp::media::ProxyInfo::noProxy | ( | ) | const |
Definition at line 47 of file proxyinfo.cc.
| ProxyInfo::NoProxyIterator zypp::media::ProxyInfo::noProxyBegin | ( | ) | const |
Definition at line 50 of file proxyinfo.cc.
| ProxyInfo::NoProxyIterator zypp::media::ProxyInfo::noProxyEnd | ( | ) | const |
Definition at line 53 of file proxyinfo.cc.
Return true if enabled and url_r does not match noProxy.
Definition at line 56 of file proxyinfo.cc.
|
private |
Pointer to implementation.
Definition at line 57 of file proxyinfo.h.