Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for ConnectionReleased (0.66 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt

    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

    import okhttp3.CallEvent.Canceled
    import okhttp3.CallEvent.ConnectEnd
    import okhttp3.CallEvent.ConnectFailed
    import okhttp3.CallEvent.ConnectStart
    import okhttp3.CallEvent.ConnectionAcquired
    import okhttp3.CallEvent.ConnectionReleased
    import okhttp3.CallEvent.DnsEnd
    import okhttp3.CallEvent.DnsStart
    import okhttp3.CallEvent.FollowUpDecision
    import okhttp3.CallEvent.ProxySelectEnd
    import okhttp3.CallEvent.ProxySelectStart
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt

          .execute()
          .close()
    
        assertThat(listener.recordedEventTypes()).containsExactly(
          "ConnectStart",
          "ConnectEnd",
          "ConnectionAcquired",
          "ConnectionReleased",
          "ConnectionAcquired",
          "ConnectionReleased",
        )
      }
    
      @Test
      @Throws(IOException::class)
      fun successfulEmptyH2CallEventSequence() {
        enableTls()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 18:33:48 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt

      override fun connectionAcquired(
        call: Call,
        connection: Connection,
      ) = onEvent(ConnectionAcquired(System.nanoTime(), call, connection))
    
      override fun connectionReleased(
        call: Call,
        connection: Connection,
      ) = onEvent(ConnectionReleased(System.nanoTime(), call, connection))
    
      override fun callStart(call: Call) = onEvent(CallStart(System.nanoTime(), call))
    
      override fun requestHeadersStart(call: Call) =
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. android-test/src/androidTest/README.md

    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] responseBodyStart
    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] responseBodyEnd: byteCount=128
    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] connectionReleased
    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] callEnd
    01-01 12:53:32.816 10999 11090 D OkHttp  : [54 ms] responseHeadersStart
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Aug 22 08:12:58 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt

    import okhttp3.CallEvent.CallEnd
    import okhttp3.CallEvent.CallStart
    import okhttp3.CallEvent.ConnectEnd
    import okhttp3.CallEvent.ConnectStart
    import okhttp3.CallEvent.ConnectionAcquired
    import okhttp3.CallEvent.ConnectionReleased
    import okhttp3.CallEvent.DnsEnd
    import okhttp3.CallEvent.DnsStart
    import okhttp3.CallEvent.FollowUpDecision
    import okhttp3.CallEvent.ProxySelectEnd
    import okhttp3.CallEvent.ProxySelectStart
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

        call: Call,
        connection: Connection,
      ) {
        logWithTime("connectionAcquired: $connection")
      }
    
      override fun connectionReleased(
        call: Call,
        connection: Connection,
      ) {
        logWithTime("connectionReleased")
      }
    
      override fun requestHeadersStart(call: Call) {
        logWithTime("requestHeadersStart")
      }
    
      override fun requestHeadersEnd(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Oct 06 13:40:20 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

            }
            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 ||
          it is Canceled ||
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

          .assertLogMatch(Regex("""responseBodyStart"""))
          .assertLogMatch(Regex("""responseBodyEnd: byteCount=6"""))
          .assertLogMatch(Regex("""connectionReleased"""))
          .assertLogMatch(Regex("""callEnd"""))
          .assertNoMoreLogs()
      }
    
      @Test
      fun post() {
        assumeNotWindows()
        server.enqueue(MockResponse())
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

          for (delegate in eventListeners) {
            delegate.connectionAcquired(call, connection)
          }
        }
    
        override fun connectionReleased(
          call: Call,
          connection: Connection,
        ) {
          for (delegate in eventListeners) {
            delegate.connectionReleased(call, connection)
          }
        }
    
        override fun requestHeadersStart(call: Call) {
          for (delegate in eventListeners) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:03:04 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top