Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for assumeHttp2Support (0.07 sec)

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

        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
      }
    
      @Test
      fun unsuccessfulExpectContinuePermitsConnectionReuseWithHttp2() {
        platform.assumeHttp2Support()
        enableProtocol(Protocol.HTTP_2)
        server.enqueue(MockResponse())
        server.enqueue(MockResponse())
        executeSynchronously(
          Request.Builder()
            .url(server.url("/"))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        protocol: Protocol,
        server: MockWebServer,
      ) {
        this.server = server
        this.protocol = protocol
        platform.assumeNotOpenJSSE()
        if (protocol === Protocol.HTTP_2) {
          platform.assumeHttp2Support()
          server.useHttps(handshakeCertificates.sslSocketFactory())
          client =
            clientTestRule.newClientBuilder()
              .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
Back to top