Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for initExchange (0.06 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

          }
    
        open fun receivedResponseAtMillis(receivedResponseAtMillis: Long) =
          apply {
            this.receivedResponseAtMillis = receivedResponseAtMillis
          }
    
        internal fun initExchange(exchange: Exchange) {
          this.exchange = exchange
        }
    
        open fun build(): Response {
          check(code >= 0) { "code < 0: $code" }
          return Response(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

              else -> SequentialExchangeFinder(routePlanner)
            }
        }
      }
    
      /** Finds a new or pooled connection to carry a forthcoming request and response. */
      internal fun initExchange(chain: RealInterceptorChain): Exchange {
        withLock {
          check(expectMoreExchanges) { "released" }
          check(!responseBodyOpen)
          check(!requestBodyOpen)
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top