16 static ProxyConfig *d_instance;
18 std::string d_protocol;
20 std::string d_user_password;
21 std::string d_user_id;
22 std::string d_proxy_password;
25 std::string d_no_proxy_regex;
38 load_proxy_from_keys();
41 void load_proxy_from_keys();
44 static ProxyConfig *theOne();
46 std::string protocol() {
return d_protocol; }
48 std::string host() {
return d_host; }
50 std::string password() {
return d_user_password; }
52 std::string user() {
return d_user_id; }
54 std::string proxy_password() {
return d_proxy_password; }
56 int port() {
return d_port; }
58 int auth_type() {
return d_auth_type; }
60 std::string no_proxy_regex() {
return d_no_proxy_regex; }
62 bool is_configured() {
return d_configured; }