- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 29 for CallEnd (0.09 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt
addAll(listOf("ConnectStart", "ConnectEnd")) } addAll(listOf("ConnectionAcquired", "ConnectionReleased", "CallEnd")) } assertThat(events2).isEqualTo(expectedEvents2) } private fun isConnectionEvent(it: CallEvent?) = it is CallStart || it is CallEnd || it is ConnectStart || it is ConnectEnd || it is ConnectionAcquired || it is ConnectionReleased ||
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 9.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt
override fun responseFailed( call: Call, ioe: IOException, ) = logEvent(ResponseFailed(System.nanoTime(), call, ioe)) override fun callEnd(call: Call) = logEvent(CallEnd(System.nanoTime(), call)) override fun callFailed( call: Call, ioe: IOException, ) = logEvent(CallFailed(System.nanoTime(), call, ioe))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 9.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java
printEvent("responseBodyEnd"); } @Override public void responseFailed(Call call, IOException ioe) { printEvent("responseFailed"); } @Override public void callEnd(Call call) { printEvent("callEnd"); } @Override public void callFailed(Call call, IOException ioe) { printEvent("callFailed"); } @Override public void canceled(Call call) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 5.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt
"RequestHeadersEnd", "ResponseHeadersStart", "ResponseHeadersEnd", "FollowUpDecision", "ResponseBodyStart", "ResponseBodyEnd", "ConnectionReleased", "CallEnd", ) } @Test fun upgradeForbiddenOnHttp2() { enableTls(Protocol.HTTP_2, Protocol.HTTP_1_1) val socketHandler = MockSocketHandler() server.enqueue(socketHandler.upgradeResponse())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 7.1K bytes - Viewed (0) -
okhttp-logging-interceptor/api/logging-interceptor.api
public fun cacheConditionalHit (Lokhttp3/Call;Lokhttp3/Response;)V public fun cacheHit (Lokhttp3/Call;Lokhttp3/Response;)V public fun cacheMiss (Lokhttp3/Call;)V public fun callEnd (Lokhttp3/Call;)V public fun callFailed (Lokhttp3/Call;Ljava/io/IOException;)V public fun callStart (Lokhttp3/Call;)V public fun canceled (Lokhttp3/Call;)V
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Apr 06 09:14:38 UTC 2024 - 4.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt
expectedEvents += "FollowUpDecision" expectedEvents += "ResponseBodyStart" expectedEvents += "ResponseBodyEnd" expectedEvents += "ConnectionReleased" expectedEvents += "CallEnd" assertThat(listener.recordedEventTypes()).isEqualTo(expectedEvents) // Confirm that the connection pool was not corrupted by making another call. makeSimpleCall() } /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 9.4K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt
"RequestHeadersEnd", "ResponseHeadersStart", "ResponseHeadersEnd", "FollowUpDecision", "ResponseBodyStart", "ResponseBodyEnd", "ConnectionReleased", "CallEnd", ) } @Test fun sseReauths() { client = client .newBuilder() .authenticator { route, response -> response.request .newBuilder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 8.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt
} data class CallStart( override val timestampNs: Long, override val call: Call, ) : CallEvent() data class CallEnd( override val timestampNs: Long, override val call: Call, ) : CallEvent() { override fun closes(event: CallEvent): Boolean = event is CallStart && call == event.call } data class CallFailed(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
} override fun secureConnectEnd( call: Call, handshake: Handshake?, ) { logger.removeHandler(loggerHandler) } override fun callEnd(call: Call) { // Cleanup log handler if failed. logger.removeHandler(loggerHandler) } override fun connectionAcquired( call: Call, connection: Connection, ) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 10.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
"ResponseHeadersStart", "ResponseHeadersEnd", "FollowUpDecision", "ResponseBodyStart", "ResponseBodyEnd", "RequestBodyEnd", "ConnectionReleased", "CallEnd", ) } @Test fun duplexWith100Continue() { enableProtocol(Protocol.HTTP_2) val body = MockSocketHandler() .receiveRequest("request body\n")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 24.8K bytes - Viewed (0)