Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 507 for endpoints (0.15 sec)

  1. docs/pt/docs/advanced/websockets.md

    E todas elas usarão a mesma conexão WebSocket.
    
    ## Usando `Depends` e outros
    
    Nos endpoints WebSocket você pode importar do `fastapi` e usar:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    Eles funcionam da mesma forma que para outros endpoints FastAPI/*operações de rota*:
    
    {*../../docs_src/websockets/tutorial002_an_py310.py hl[68:69,82]*}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:20:59 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. cmd/lock-rest-client_test.go

    	}
    	endpointLocal.IsLocal = true
    
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    	err = initGlobalLockGrid(ctx, []PoolEndpoints{{Endpoints: Endpoints{endpoint, endpointLocal}}})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	lkClient := newlockRESTClient(endpoint)
    	if lkClient.IsOnline() {
    		t.Fatalf("unexpected result. connection was online")
    	}
    
    	// Attempt all calls.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/clusters/clusters.go

    	clusterEndpoint = retrieveSortedEndpointClusterSlice(clusterEndpoint)
    	fmt.Fprintln(w, "ENDPOINT\tSTATUS\tOUTLIER CHECK\tCLUSTER")
    	for _, ce := range clusterEndpoint {
    		var endpoint string
    		if ce.port != 0 {
    			endpoint = ce.address + ":" + strconv.Itoa(ce.port)
    		} else {
    			endpoint = ce.address
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/StandardMutableNetwork.java

        edgeToReferenceNode.put(edge, nodeU);
        return true;
      }
    
      @Override
      @CanIgnoreReturnValue
      public boolean addEdge(EndpointPair<N> endpoints, E edge) {
        validateEndpoints(endpoints);
        return addEdge(endpoints.nodeU(), endpoints.nodeV(), edge);
      }
    
      @Override
      @CanIgnoreReturnValue
      public boolean removeNode(N node) {
        checkNotNull(node, "node");
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  5. cmd/erasure-sets_test.go

    		t.Fatalf("Expecting error, got %s", err)
    	}
    
    	// Initializes all erasure disks
    	storageDisks, format, err := waitForFormatErasure(true, endpoints, 1, 1, 16, "")
    	if err != nil {
    		t.Fatalf("Unable to format drives for erasure, %s", err)
    	}
    
    	ep := PoolEndpoints{Endpoints: endpoints}
    
    	parity, err := ecDrivesNoConfig(16)
    	if err != nil {
    		t.Fatalf("Unexpected error during EC drive config: %v", err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 12 07:21:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. cmd/config-current.go

    			Description:     "send server logs to webhook endpoints",
    			MultipleTargets: true,
    		},
    		config.HelpKV{
    			Key:             config.AuditWebhookSubSys,
    			Description:     "send audit logs to webhook endpoints",
    			MultipleTargets: true,
    		},
    		config.HelpKV{
    			Key:             config.AuditKafkaSubSys,
    			Description:     "send audit logs to kafka endpoints",
    			MultipleTargets: true,
    		},
    		config.HelpKV{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  7. cmd/format-erasure.go

    	}
    	wg.Wait()
    }
    
    // Initialize storage disks for each endpoint.
    // Errors are returned for each endpoint with matching index.
    func initStorageDisksWithErrors(endpoints Endpoints, opts storageOpts) ([]StorageAPI, []error) {
    	// Bootstrap disks.
    	storageDisks := make([]StorageAPI, len(endpoints))
    	g := errgroup.WithNErrs(len(endpoints))
    	for index := range endpoints {
    		index := index
    		g.Go(func() (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  8. cmd/endpoint_contrib_test.go

    		globalMinioPort = tempGlobalMinioPort
    	}()
    	globalMinioPort = "9000"
    
    	tempGlobalDomainIPs := globalDomainIPs
    	defer func() {
    		globalDomainIPs = tempGlobalDomainIPs
    	}()
    
    	ipv4TestCases := []struct {
    		endPoints      set.StringSet
    		expectedResult set.StringSet
    	}{
    		{set.NewStringSet(), set.NewStringSet()},
    		{set.CreateStringSet("localhost"), set.NewStringSet()},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 30 15:50:39 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/AbstractValueGraph.java

        return Optional.ofNullable(edgeValueOrDefault(nodeU, nodeV, null));
      }
    
      @Override
      public Optional<V> edgeValue(EndpointPair<N> endpoints) {
        return Optional.ofNullable(edgeValueOrDefault(endpoints, null));
      }
    
      @Override
      public final boolean equals(@CheckForNull Object obj) {
        if (obj == this) {
          return true;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. cmd/admin-handlers-pools.go

    	// first node. The following is required to serialize (the effects of)
    	// concurrent rebalance-start commands.
    	if ep := globalEndpoints[0].Endpoints[0]; !ep.IsLocal {
    		for nodeIdx, proxyEp := range globalProxyEndpoints {
    			if proxyEp.Endpoint.Host == ep.Host {
    				if proxyRequestByNodeIndex(ctx, w, r, nodeIdx) {
    					return
    				}
    			}
    		}
    	}
    
    	pools, ok := objectAPI.(*erasureServerPools)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 00:22:30 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top