- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for useHttps (0.14 sec)
-
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
applicationLogs .assertLogEqual("--> GET $url") .assertLogEqual("<-- HTTP FAILED: java.net.UnknownHostException: reason") .assertNoMoreLogs() } @Test fun http2() { server.useHttps(handshakeCertificates.sslSocketFactory()) url = server.url("/") setLevel(Level.BASIC) server.enqueue(MockResponse()) val response = client.newCall(request().build()).execute()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 09:14:38 GMT 2024 - 37.6K bytes - Viewed (0)