- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getKeepAlive (0.05 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt
@Throws(IOException::class) override fun getInputStream(): InputStream = delegate!!.inputStream @Throws(SocketException::class) override fun getKeepAlive(): Boolean = delegate!!.keepAlive override fun getLocalAddress(): InetAddress = delegate!!.localAddress override fun getLocalPort(): Int = delegate!!.localPort @Throws(IOException::class)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
assertFailsWith<IOException> { getResponse(Request("http://-/foo.html".toHttpUrl())) } } // The request should work once and then fail. @Test fun getKeepAlive() { server.enqueue(MockResponse(body = "ABC")) // The request should work once and then fail. val connection1 = getResponse(newRequest("/")) val source1 = connection1.body.source()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0)