- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for newClientBuilder (0.05 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
private val listener: RecordingEventListener = RecordingEventListener() private val handshakeCertificates = platform.localhostHandshakeCertificates() private var client = clientTestRule .newClientBuilder() .eventListenerFactory(clientTestRule.wrap(listener)) .build() private var socksProxy: SocksProxy? = null private var cache: Cache? = null @BeforeEach fun setUp() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 60.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
if (protocol === Protocol.HTTP_2) { platform.assumeHttp2Support() server.useHttps(handshakeCertificates.sslSocketFactory()) client = clientTestRule .newClientBuilder() .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1)) .sslSocketFactory( handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 73.4K bytes - Viewed (0)