Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 97 for Http2 (0.03 sec)

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

      }
    
      /** Use a proxy to fake IPv6 connectivity, even if localhost doesn't have IPv6.  */
      private fun configureClientAndServerProxies(http2: Boolean) {
        server.useHttps(handshakeCertificates.sslSocketFactory())
        server.protocols =
          when {
            http2 -> listOf(Protocol.HTTP_2, Protocol.HTTP_1_1)
            else -> listOf(Protocol.HTTP_1_1)
          }
        server.enqueue(MockResponse(inTunnel = true))
    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/main/kotlin/okhttp3/RequestBody.kt

       * quickly, possibly by handing off the provided request body to another thread to perform
       * writing.
       *
       * [grpc]: https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md
       */
      open fun isDuplex(): Boolean = commonIsDuplex()
    
      /**
       * Returns true if this body expects at most one call to [writeTo] and can be transmitted
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt

    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import okhttp3.OkHttpClient
    import okhttp3.OkHttpClientTestRule
    import okhttp3.RecordingEventListener
    import okhttp3.Request
    import okhttp3.internal.http2.ConnectionShutdownException
    import okhttp3.testing.Flaky
    import okhttp3.testing.PlatformRule
    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.HeldCertificate
    import okhttp3.tls.internal.TlsUtil.newKeyManager
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okhttp3.HttpUrl.Companion.defaultPort
    import okhttp3.OkHttpClient
    import okhttp3.RequestBody
    import okhttp3.Response
    import okhttp3.ResponseBody
    import okhttp3.internal.http2.Header
    import okio.Buffer
    import okio.BufferedSource
    import okio.Source
    
    @JvmField
    internal val EMPTY_HEADERS: Headers = commonEmptyHeaders
    
    @JvmField
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

    import okhttp3.ExperimentalOkHttpApi
    import okhttp3.Headers
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.WebSocketListener
    import okhttp3.internal.addHeaderLenient
    import okhttp3.internal.http2.Settings
    import okio.Buffer
    
    /** A scripted response to be replayed by the mock web server. */
    @ExperimentalOkHttpApi
    class MockResponse {
      /** Returns the HTTP response line, such as "HTTP/1.1 200 OK". */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. istioctl/pkg/describe/describe.go

    	// of them.  For example, it doesn't listen on 443 without additional setup.  This prints
    	// the most basic output.
    	portsToShow := map[string]bool{
    		"http2": true,
    		"http":  true,
    	}
    	protocolToScheme := map[string]string{
    		"HTTP2": "http",
    		"HTTP":  "http",
    	}
    	schemePortDefault := map[string]int{
    		"http": 80,
    	}
    
    	for _, port := range ingress.service.Spec.Ports {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  7. common/config/.golangci.yml

                desc: "gogo/protobuf is deprecated, use golang/protobuf"
          # deny for all go files
          AllGoFiles:
            files:
              - $all
            deny:
              - pkg: golang.org/x/net/http2/h2c
                desc: "h2c.NewHandler is unsafe; use wrapper istio.io/istio/pkg/h2c"
              - pkg: github.com/golang/protobuf/jsonpb
                desc: "don't use the jsonpb package directly; use util/protomarshal instead"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/HttpHeaders.java

      public static final String HOST = "Host";
    
      /**
       * The HTTP <a href="https://datatracker.ietf.org/doc/html/rfc7540#section-3.2.1">{@code
       * HTTP2-Settings} </a> header field name.
       *
       * @since 24.0
       */
      public static final String HTTP2_SETTINGS = "HTTP2-Settings";
    
      /** The HTTP {@code If-Match} header field name. */
      public static final String IF_MATCH = "If-Match";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 19:08:38 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  9. manifests/charts/base/files/crd-all.gen.yaml

                                  properties:
                                    h2UpgradePolicy:
                                      description: |-
                                        Specify if http1.1 connection should be upgraded to http2 for the associated destination.
    
                                        Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
                                      enum:
                                      - DEFAULT
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Nov 01 16:23:52 UTC 2024
    - 805K bytes
    - Viewed (0)
  10. CHANGELOG.md

        tunnel just as it would with HTTPS. For prior knowledge with proxies OkHttp's is now consistent
        with these curl arguments:
    
        ```
        curl \
          --http2-prior-knowledge \
          --proxy localhost:8888 \
          --proxytunnel \
          http://squareup.com/robots.txt
        ```
    
     *  Fix: Support executing OkHttp on kotlin-stdlib versions as old as 1.4. The library still builds
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:31:39 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top