- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for sslSocketFactorySetAsSocketFactory (0.13 sec)
-
okhttp/src/test/java/okhttp3/OkHttpClientTest.kt
val request = Request(server!!.url("/")) val response = client.newCall(request).execute() assertThat(response.body.string()).isEqualTo("abc") } @Test fun sslSocketFactorySetAsSocketFactory() { val builder = OkHttpClient.Builder() assertFailsWith<IllegalArgumentException> { builder.socketFactory(SSLSocketFactory.getDefault()) } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 13.2K bytes - Viewed (0)