MCPcopy Create free account
hub / github.com/FongMi/CatVodSpider / safeDns

Method safeDns

app/src/main/java/com/github/catvod/net/OkHttp.java:132–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130 }
131
132 private static Dns safeDns() {
133 try {
134 return Objects.requireNonNull(Spider.safeDns());
135 } catch (Throwable e) {
136 return Dns.SYSTEM;
137 }
138 }
139
140 private static SSLContext getSSLContext() {
141 try {

Callers 1

getBuilderMethod · 0.95

Calls 1

safeDnsMethod · 0.95

Tested by

no test coverage detected