Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,482 for protocol1 (0.15 sec)

  1. pkg/test/echo/server/forwarder/instance.go

    	protocolMap map[scheme.Instance]protocol
    	protocols   []protocol
    }
    
    // New creates a new forwarder Instance.
    func New() *Instance {
    	var protocols []protocol
    	add := func(p protocol) protocol {
    		protocols = append(protocols, p)
    		return p
    	}
    
    	// Create the protocols and populate the map.
    	e := newExecutor()
    	protocolMap := make(map[scheme.Instance]protocol)
    	h := add(newHTTPProtocol(e))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 17:19:22 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  2. pkg/config/protocol/instance.go

    		return MySQL
    	}
    
    	return Unsupported
    }
    
    // IsHTTP2 is true for protocols that use HTTP/2 as transport protocol
    func (i Instance) IsHTTP2() bool {
    	switch i {
    	case HTTP2, GRPC, GRPCWeb:
    		return true
    	default:
    		return false
    	}
    }
    
    // IsHTTPOrSniffed is true for protocols that use HTTP as transport protocol, or *can* use it if sniffed to be HTTP
    func (i Instance) IsHTTPOrSniffed() bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 01 02:46:15 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

              val protocol = peerProtocols[i] as String
              if (protocol in protocols) {
                selected = protocol
                return selected
              }
            }
            selected = protocols[0] // On no intersection, try peer's first protocol.
            return selected
          } else if ((methodName == "protocolSelected" || methodName == "selected") && callArgs.size == 1) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

          OkHttpClient.Builder()
            .protocols(protocols as List<Protocol>)
        }.also { expected ->
          assertThat(expected.message).isEqualTo("protocols must not contain null")
        }
      }
    
      @Test fun spdy3IsRemovedFromProtocols() {
        val protocols =
          mutableListOf(
            Protocol.HTTP_1_1,
            Protocol.SPDY_3,
          )
        val client =
          OkHttpClient.Builder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. releasenotes/notes/use-client-protocol.yaml

    Rama Chavali <******@****.***> 1600158980 +0530
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Sep 15 08:36:20 UTC 2020
    - 168 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn.go

    		}
    	}
    }
    
    // handshake ensures the provided user protocol matches one of the allowed protocols. It returns
    // no error if no protocol is specified.
    func handshake(config *websocket.Config, req *http.Request, allowed []string) error {
    	protocols := config.Protocol
    	if len(protocols) == 0 {
    		protocols = []string{""}
    	}
    
    	for _, protocol := range protocols {
    		for _, allow := range allowed {
    			if allow == protocol {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. releasenotes/notes/drop-protocol-detection.yaml

    John Howard <******@****.***> 1682620589 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 27 18:36:29 UTC 2023
    - 209 bytes
    - Viewed (0)
  8. tests/fuzz/pilot_model_fuzzer.go

    	"istio.io/istio/pkg/config/mesh"
    	"istio.io/istio/pkg/config/protocol"
    	"istio.io/istio/pkg/slices"
    )
    
    var protocols = []protocol.Instance{
    	protocol.TCP,
    	protocol.UDP,
    	protocol.GRPC,
    	protocol.GRPCWeb,
    	protocol.HTTP,
    	protocol.HTTP_PROXY,
    	protocol.HTTP2,
    	protocol.HTTPS,
    	protocol.TLS,
    	protocol.Mongo,
    	protocol.Redis,
    	protocol.MySQL,
    }
    
    // Creates a new fuzzed ServiceInstance
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 18:13:06 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. platforms/software/build-init/src/main/java/org/gradle/buildinit/InsecureProtocolOption.java

         */
        WARN,
    
        /**
         * Allow insecure protocols to be used when found.
         *
         * The generated Gradle build will not fail, but it will allow insecure protocols to be used.
         */
        ALLOW,
    
        /**
         * Upgrade an insecure protocol to a secure one.
         *
         * The generated Gradle build will not fail, but the repository may not be usable over a secure protocol.
         */
        UPGRADE;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

        replaceWith = ReplaceWith(expression = "run { this.protocols = protocols }"),
        level = DeprecationLevel.ERROR,
      )
      fun setProtocols(protocols: List<Protocol>) {
        delegate.protocols = protocols
      }
    
      @JvmName("-deprecated_protocols")
      @Deprecated(
        message = "moved to var",
        replaceWith = ReplaceWith(expression = "protocols"),
        level = DeprecationLevel.ERROR,
      )
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top