4 #include "IUrlProxyResolver.h"
18 void SetProxy(
const std::string& ipAddress,
int port);
20 void AddProxyIgnorePattern(
const std::string& proxyIgnorePattern);
21 void RemoveProxyIgnorePattern(
const std::string& proxyIgnorePattern);
23 void ClearProxySettings();
25 const std::string& ProxyIpAddress()
const {
return m_proxyIp; }
26 const int ProxyPort()
const {
return m_proxyPort; }
28 const bool ShouldProxyUrl(
const std::string& url)
const;
29 const UrlProxySettings GetProxySettingsForUrl(
const std::string& url)
const override;
32 std::vector<std::string> m_proxyIgnorePatterns;
33 std::string m_proxyIp;