- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for dns (0.13 sec)
-
okhttp/src/test/java/okhttp3/CallTest.kt
.assertHeader("", "ef") } @Test fun customDns() { // Configure a DNS that returns our local MockWebServer for android.com. val dns = FakeDns() dns["android.com"] = Dns.SYSTEM.lookup(server.url("/").host) client = client.newBuilder() .dns(dns) .build() server.enqueue(MockResponse())
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
} @Test fun invalidHost() { // Note that 1234.1.1.1 is an invalid host in a URI, but URL isn't as strict. client = client.newBuilder() .dns(FakeDns()) .build() assertFailsWith<UnknownHostException> { getResponse( Request.Builder() .url("http://1234.1.1.1/index.html".toHttpUrl()) .build(), )
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
okhttp-android/src/main/baseline-prof.txt
HSPLokhttp3/Dispatcher;->finished(Ljava/util/Deque;Ljava/lang/Object;)V HSPLokhttp3/Dispatcher;->promoteAndExecute()Z HSPLokhttp3/Dns$Companion$DnsSystem;-><init>()V HSPLokhttp3/Dns$Companion$DnsSystem;->lookup(Ljava/lang/String;)Ljava/util/List; HSPLokhttp3/Dns;-><clinit>()V HSPLokhttp3/EventListener$Companion$NONE$1;-><init>()V HSPLokhttp3/EventListener;-><clinit>()V HSPLokhttp3/EventListener;-><init>()V
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Mar 21 11:22:00 GMT 2022 - 127.9K bytes - Viewed (0) -
okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 240.3K bytes - Viewed (3)