修正备注
This commit is contained in:
@@ -72,8 +72,8 @@ public class ProxyConfig implements IConfig<ProxyConfig> {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 测试给定的 HTTP 代理是否有效,并验证是否真的走了代理。
|
* 测试给定的 HTTP 代理是否有效,并验证是否真的走了代理。
|
||||||
* @param proxyHost 代理 IP,如 "127.0.0.1"
|
* @param proxy 代理
|
||||||
* @param proxyPort 代理端口,如 8888
|
* @param ignoreHttpsVerification 是否忽略 https 证书验证
|
||||||
* @return 是否有效
|
* @return 是否有效
|
||||||
*/
|
*/
|
||||||
public static boolean isProxyEffective(Proxy proxy, boolean ignoreHttpsVerification) {
|
public static boolean isProxyEffective(Proxy proxy, boolean ignoreHttpsVerification) {
|
||||||
|
|||||||
Reference in New Issue
Block a user