Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for candidateConnection (0.19 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/PoolConnectionUser.kt

      }
    
      override fun noNewExchanges(connection: RealConnection) {
      }
    
      override fun doExtensiveHealthChecks(): Boolean = false
    
      override fun isCanceled(): Boolean = false
    
      override fun candidateConnection(): RealConnection? = null
    
      override fun proxySelectStart(url: HttpUrl) {
      }
    
      override fun proxySelectEnd(
        url: HttpUrl,
        proxies: List<Proxy>,
      ) {
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 20:39:41 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/CallConnectionUser.kt

      override fun doExtensiveHealthChecks(): Boolean {
        return chain.request.method != "GET"
      }
    
      override fun isCanceled(): Boolean {
        return call.isCanceled()
      }
    
      override fun candidateConnection(): RealConnection? {
        return call.connection
      }
    
      override fun proxySelectStart(url: HttpUrl) {
        eventListener.proxySelectStart(call, url)
      }
    
      override fun proxySelectEnd(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectionUser.kt

      fun connectionConnectionClosed(connection: RealConnection)
    
      fun noNewExchanges(connection: RealConnection)
    
      fun doExtensiveHealthChecks(): Boolean
    
      fun isCanceled(): Boolean
    
      fun candidateConnection(): RealConnection?
    
      fun proxySelectStart(url: HttpUrl)
    
      fun proxySelectEnd(
        url: HttpUrl,
        proxies: List<Proxy>,
      )
    
      fun dnsStart(socketHost: String)
    
      fun dnsEnd(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

       */
      private fun planReuseCallConnection(): ReusePlan? {
        // This may be mutated by releaseConnectionNoEvents()!
        val candidate = connectionUser.candidateConnection() ?: return null
    
        // Make sure this connection is healthy & eligible for new exchanges. If it's no longer needed
        // then we're on the hook to close it.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top