Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for H2_PRIOR_KNOWLEDGE (3.85 sec)

  1. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

            require(Protocol.H2_PRIOR_KNOWLEDGE in protocolsCopy || HTTP_1_1 in protocolsCopy) {
              "protocols must contain h2_prior_knowledge or http/1.1: $protocolsCopy"
            }
            require(Protocol.H2_PRIOR_KNOWLEDGE !in protocolsCopy || protocolsCopy.size <= 1) {
              "protocols containing h2_prior_knowledge cannot use other protocols: $protocolsCopy"
            }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

              .hostnameVerifier(RecordingHostnameVerifier())
              .build()
          scheme = "https"
        } else {
          server.protocols = listOf(Protocol.H2_PRIOR_KNOWLEDGE)
          client =
            clientTestRule.newClientBuilder()
              .protocols(listOf(Protocol.H2_PRIOR_KNOWLEDGE))
              .build()
          scheme = "http"
        }
      }
    
      @AfterEach fun tearDown() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

        code][https_server_sample].
    
     *  **OkHttp now supports prior knowledge cleartext HTTP/2.** Enable this by setting
        `Protocol.H2_PRIOR_KNOWLEDGE` as the lone protocol on an `OkHttpClient.Builder`. This mode
        only supports `http:` URLs and is best suited in closed environments where HTTPS is
        inappropriate.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  4. okhttp/api/okhttp.api

    public final class okhttp3/OkHttpClient$Companion {
    }
    
    public final class okhttp3/Protocol : java/lang/Enum {
    	public static final field Companion Lokhttp3/Protocol$Companion;
    	public static final field H2_PRIOR_KNOWLEDGE Lokhttp3/Protocol;
    	public static final field HTTP_1_0 Lokhttp3/Protocol;
    	public static final field HTTP_1_1 Lokhttp3/Protocol;
    	public static final field HTTP_2 Lokhttp3/Protocol;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
Back to top