- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for onResponseEnd (0.14 sec)
-
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, ), )
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 4.1K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/SocketEffect.kt
*/ public sealed interface SocketEffect { /** * Close the TCP socket that carries this request. * * 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,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 1.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 8.4K bytes - Viewed (0)