- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for shutdownInput (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt
/** An [SSLSocket] that delegates all calls. */ abstract class DelegatingSSLSocket( protected val delegate: SSLSocket?, ) : SSLSocket() { @Throws(IOException::class) override fun shutdownInput() { delegate!!.shutdownInput() } @Throws(IOException::class) override fun shutdownOutput() { delegate!!.shutdownOutput() }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 7.4K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/SocketEffect.kt
* * Using this as [MockResponse.onResponseEnd] is the default for HTTP/1.0. */ public class CloseSocket( public val closeSocket: Boolean = true, public val shutdownInput: Boolean = false, public val shutdownOutput: Boolean = false, ) : SocketEffect /** * On HTTP/2, send a [GOAWAY frame](https://tools.ietf.org/html/rfc7540#section-6.8) immediately
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 1.6K bytes - Click Count (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt
SocketPolicy.FAIL_HANDSHAKE -> result.failHandshake() SocketPolicy.SHUTDOWN_INPUT_AT_END -> result.onResponseEnd( CloseSocket( closeSocket = false, shutdownInput = true, ), ) SocketPolicy.SHUTDOWN_OUTPUT_AT_END -> result.onResponseEnd( CloseSocket( closeSocket = false, shutdownOutput = true, ), )
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 03 13:16:34 GMT 2025 - 4.1K bytes - Click Count (1) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Aug 02 20:36:00 GMT 2025 - 40.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
MockResponse .Builder() .body("This connection won't pool properly") .onResponseEnd( CloseSocket( closeSocket = false, shutdownInput = true, ), ).build(), ) } @Test fun serverShutdownOutput() { testServerClosesOutput( MockResponse .Builder()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jun 21 20:36:35 GMT 2025 - 133.2K bytes - Click Count (0) -
CHANGELOG.md
* Upgrade: [Okio 3.16.3][okio_3_16_3]. ## Version 5.2.1 _2025-10-09_ * Fix: Don't crash when calling `Socket.shutdownOutput()` or `shutdownInput()` on an `SSLSocket` on Android API 21 through 23. This method throws an `UnsupportedOperationException`, so we now catch that and close the underlying stream instead. * Upgrade: [Okio 3.16.1][okio_3_16_1].
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 05 16:02:59 GMT 2025 - 36.2K bytes - Click Count (2)