public static O2_Web_Proxy setBrowserProxy(this O2_Web_Proxy o2WebProxy) { var proxyLocation = o2WebProxy.proxyLocation(); "setting proxy location to: {0}".info(proxyLocation); API_WinProxy.SetProxy(proxyLocation); return(o2WebProxy); }
public void test_setProxy() { var proxy = "http://127.0.0.1:8008"; if (API_WinProxy.SetProxy(proxy)) { "proxy was set ok".info(); } else { "probs setting proxy".error(); } }
public static O2_Web_Proxy clearBrowserProxy(this O2_Web_Proxy o2WebProxy) { "remove proxy proxy settings (ie setting it to \"\"".info(); API_WinProxy.SetProxy(""); return(o2WebProxy); }