Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

          val uri = url.toUri()
          if (uri.host == null) return immutableListOf(Proxy.NO_PROXY)
    
          // Try each of the ProxySelector choices until one connection succeeds.
          val proxiesOrNull = address.proxySelector.select(uri)
          if (proxiesOrNull.isNullOrEmpty()) return immutableListOf(Proxy.NO_PROXY)
    
          return proxiesOrNull.toImmutableList()
        }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 7.3K bytes
    - Viewed (2)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

          }
    
        fun build(): OkHttpClient = OkHttpClient(this)
      }
    
      companion object {
        internal val DEFAULT_PROTOCOLS = immutableListOf(HTTP_2, HTTP_1_1)
    
        internal val DEFAULT_CONNECTION_SPECS =
          immutableListOf(
            ConnectionSpec.MODERN_TLS,
            ConnectionSpec.CLEARTEXT,
          )
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 51.4K bytes
    - Viewed (0)
Back to top