- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for onRequestStart (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt
/** Confirm suppressed exceptions that occur after connecting are returned. */ @Test fun httpExceptionsAreReturnedAsSuppressed() { server.enqueue(MockResponse.Builder().onRequestStart(CloseSocket()).build()) server.enqueue(MockResponse.Builder().onRequestStart(CloseSocket()).build()) client = client .newBuilder() .dns(DoubleInetAddressDns()) // Two routes so we get two failures. .build()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 8.4K bytes - Click Count (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt
), ) } SocketPolicy.STALL_SOCKET_AT_START -> { result.onRequestStart(SocketEffect.Stall) } SocketPolicy.NO_RESPONSE -> { result.onResponseStart(SocketEffect.Stall) } SocketPolicy.RESET_STREAM_AT_START -> { result.onRequestStart(CloseStream(http2ErrorCode)) } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 4.3K bytes - Click Count (1)