Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,009 for protocol2a (0.17 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/transport/RepositoryTransportFactoryTest.groovy

            then:
            InvalidUserDataException e = thrown()
            e.message == "Not a supported repository protocol 'unsupported': valid protocols are [protocol1, protocol2a, protocol2b]"
        }
    
        def "cannot creates a transport for mixed url scheme"() {
            when:
            createTransport(['protocol1', 'protocol2b'] as Set, null, [])
    
            then:
            InvalidUserDataException e = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Protocol.kt

            HTTP_1_0.protocol -> HTTP_1_0
            HTTP_1_1.protocol -> HTTP_1_1
            H2_PRIOR_KNOWLEDGE.protocol -> H2_PRIOR_KNOWLEDGE
            HTTP_2.protocol -> HTTP_2
            SPDY_3.protocol -> SPDY_3
            QUIC.protocol -> QUIC
            else -> {
              // Support HTTP3 draft like h3-29
              if (protocol.startsWith(HTTP_3.protocol)) HTTP_3 else throw IOException("Unexpected protocol: $protocol")
            }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:17:33 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/authentication/request/websocket/protocol.go

    	filteredProtocols := []string{}
    	for _, protocolHeader := range req.Header[protocolHeader] {
    		for _, protocol := range strings.Split(protocolHeader, ",") {
    			protocol = strings.TrimSpace(protocol)
    
    			if !strings.HasPrefix(protocol, bearerProtocolPrefix) {
    				filteredProtocols = append(filteredProtocols, protocol)
    				continue
    			}
    
    			if sawTokenProtocol {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 18:21:43 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. pkg/test/echo/server/forwarder/instance.go

    type Instance struct {
    	e           *executor
    	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)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 17:19:22 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/test/groovy/org/gradle/process/internal/worker/child/WorkerLogEventListenerTest.groovy

            listener.withWorkerLoggingProtocol(protocol2) {
                listener.onOutput(logEvent2)
                listener.onOutput(logEvent3)
            }
            listener.onOutput(logEvent4)
    
            then:
            1 * protocol1.sendOutputEvent(logEvent1)
            1 * protocol2.sendOutputEvent(logEvent2)
            1 * protocol2.sendOutputEvent(logEvent3)
            1 * protocol1.sendOutputEvent(logEvent4)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/deployment/services.go

    			}
    
    			// Default protocol is TCP
    			protocol := sPort.Protocol
    			if protocol == "" {
    				protocol = core_v1.ProtocolTCP
    			}
    
    			// Appending the service information for the Port/Protocol combination
    			portMap[sPort.Port][protocol] = append(portMap[sPort.Port][protocol], swn.Name)
    		}
    	}
    
    	return portMap
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top