Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for convention (0.26 sec)

  1. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        assertContent("This comes after a busted connection", response2)
    
        // Check that a fresh connection was created, either immediately or after attempting reuse.
        // We know that a fresh connection was created if the server recorded a request with sequence
        // number 0. Since the client may have attempted to reuse the broken connection just before
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

              // This request will share a connection with 'A' cause it's all done.
              client.newCall(Request.Builder().url(server.url("/b")).build()).enqueue(callback)
            }
          },
        )
        callback.await(server.url("/b")).assertCode(200).assertBody("def")
        // New connection.
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
        // Connection reuse!
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  3. okhttp-android/src/main/baseline-prof.txt

    Lokhttp3/internal/connection/ExchangeFinder;
    Lokhttp3/internal/connection/FastFallbackExchangeFinder;
    Lokhttp3/internal/connection/RealCall$AsyncCall;
    Lokhttp3/internal/connection/RealCall$CallReference;
    Lokhttp3/internal/connection/RealCall$timeout$1;
    Lokhttp3/internal/connection/RealCall;
    Lokhttp3/internal/connection/RealConnection;
    Lokhttp3/internal/connection/RealConnectionPool$cleanupTask$1;
    Lokhttp3/internal/connection/RealConnectionPool;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CacheTest.kt

        val response1 = client.newCall(request).execute()
        val source = response1.body.source()
        assertThat(source.readUtf8()).isEqualTo("ABC")
    
        // OpenJDK 6 fails on this line, complaining that the connection isn't open yet
        val cipherSuite = response1.handshake!!.cipherSuite
        val localCerts = response1.handshake!!.localCertificates
        val serverCerts = response1.handshake!!.peerCertificates
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
Back to top