Skip to content

Commit

Permalink
Merge branch 'master' of https://gitee.com/mahongyin/okhttputils
Browse files Browse the repository at this point in the history
  • Loading branch information
mahongyin committed May 18, 2022
2 parents c80f5f1 + 8771826 commit 50e76b5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ public boolean verify(String hostname, SSLSession session) {
@Override
public List<Proxy> select(URI uri) {
// DebugLog.e("url"+uri.getHost());
//wifi只能设置一个代理 蜂窝网络可以设置多个
//可以根据uri值针对敏感接口返回null,不敏感接口就使用默认代理
return getDefault().select(uri); //null 不要任何代理
}

Expand Down

0 comments on commit 50e76b5

Please sign in to comment.