Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 14 of 14 for socketAddress (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

              object : ProxySelector() {
                override fun select(uri: URI): List<Proxy> = listOf(server.proxyAddress)
    
                override fun connectFailed(
                  uri: URI,
                  socketAddress: SocketAddress,
                  e: IOException,
                ) {
                }
              },
            ).build()
        val url = "http://android.com/foo".toHttpUrl()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

       */
      private fun routeMatchesAny(candidates: List<Route>): Boolean =
        candidates.any {
          it.proxy.type() == Proxy.Type.DIRECT &&
            route.proxy.type() == Proxy.Type.DIRECT &&
            route.socketAddress == it.socketAddress
        }
    
      private fun supportsUrl(url: HttpUrl): Boolean {
        assertLockHeld()
    
        val routeUrl = route.address.url
    
        if (url.port != routeUrl.port) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  3. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        assertFailsWith<IllegalStateException> {
          other.socketAddress
        }
        assertFailsWith<IllegalStateException> {
          other.hostName
        }
        assertFailsWith<IllegalStateException> {
          other.port
        }
        assertFailsWith<IllegalStateException> {
          other.proxyAddress
        }
        other.use {
          other.start()
          assertThat(other.socketAddress).isNotNull()
          assertThat(other.hostName).isNotNull()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Aug 03 22:38:00 GMT 2025
    - 28K bytes
    - Click Count (0)
  4. okhttp/api/android/okhttp.api

    	public final fun address ()Lokhttp3/Address;
    	public fun equals (Ljava/lang/Object;)Z
    	public fun hashCode ()I
    	public final fun proxy ()Ljava/net/Proxy;
    	public final fun requiresTunnel ()Z
    	public final fun socketAddress ()Ljava/net/InetSocketAddress;
    	public fun toString ()Ljava/lang/String;
    }
    
    public final class okhttp3/TlsVersion : java/lang/Enum {
    	public static final field Companion Lokhttp3/TlsVersion$Companion;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
Back to Top