Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ConnectionPool (0.05 sec)

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

        client =
          OkHttpClient
            .Builder()
            .connectionPool(client.connectionPool)
            .proxy(server.proxyAddress)
            .build()
        executeSynchronously("/a").assertBody("abc")
        client =
          OkHttpClient
            .Builder()
            .connectionPool(client.connectionPool)
            .proxy(server.proxyAddress)
            .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        val hostnameVerifier = RecordingHostnameVerifier()
        val cookieJar: CookieJar = JavaNetCookieJar(CookieManager())
        val connectionPool = ConnectionPool()
        client =
          OkHttpClient
            .Builder()
            .cache(cache)
            .connectionPool(connectionPool)
            .cookieJar(cookieJar)
            .sslSocketFactory(clientSocketFactory, handshakeCertificates.trustManager)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  3. okhttp/src/androidMain/baseline-prof.txt

    HSPLokhttp3/CipherSuite;-><clinit>()V
    HSPLokhttp3/CipherSuite;-><init>(Ljava/lang/String;Landroidx/lifecycle/viewmodel/R$id;)V
    HSPLokhttp3/ConnectionPool;-><init>(I)V
    HSPLokhttp3/ConnectionPool;-><init>(IJLjava/util/concurrent/TimeUnit;)V
    HSPLokhttp3/ConnectionSpec$Builder;-><init>(Lokhttp3/ConnectionSpec;)V
    HSPLokhttp3/ConnectionSpec$Builder;-><init>(Z)V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

            .build(),
        )
        assertThat(get(server.url("/")).body.string()).isEqualTo("A")
        assertThat(get(server.url("/")).body.string()).isEqualTo("A")
        assertThat(client.connectionPool.idleConnectionCount()).isEqualTo(1)
      }
    
      @Test
      fun expiresDateBeforeModifiedDate() {
        assertConditionallyCached(
          MockResponse
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
Back to top