Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newCodec (0.03 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

          check(!responseBodyOpen && !requestBodyOpen && !socketSourceOpen && !socketSinkOpen)
        }
    
        val exchangeFinder = this.exchangeFinder!!
        val connection = exchangeFinder.find()
        val codec = connection.newCodec(client, chain)
        val result = Exchange(this, exchangeFinder, codec)
        this.interceptorScopedExchange = result
        this.exchange = result
        withLock {
          this.requestBodyOpen = true
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

        return peerCertificates.isNotEmpty() &&
          OkHostnameVerifier.verify(url.host, peerCertificates[0] as X509Certificate)
      }
    
      @Throws(SocketException::class)
      internal fun newCodec(
        client: OkHttpClient,
        chain: RealInterceptorChain,
      ): ExchangeCodec {
        val okHttpSocket = this.socket
        val http2Connection = this.http2Connection
    
        return if (http2Connection != null) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
Back to top