Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 639 for sena (0.02 seconds)

  1. docs/en/docs/reference/websockets.md

    # WebSockets
    
    When defining WebSockets, you normally declare a parameter of type `WebSocket` and with it you can read data from the client and send data to it.
    
    It is provided directly by Starlette, but you can import it from `fastapi`:
    
    ```python
    from fastapi import WebSocket
    ```
    
    /// tip
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Aug 06 04:48:30 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  2. docs/pt/docs/advanced/templates.md

    ///
    
    /// tip | Dica
    
    Ao declarar `response_class=HTMLResponse`, a documentação entenderá que a resposta será HTML.
    
    ///
    
    /// note | Detalhes Técnicos
    
    Você também poderia usar `from starlette.templating import Jinja2Templates`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

        }
    
        /**
         * Get the preferred size for send operations
         *
         * @return preferred send size in bytes
         */
        public int getPreferredSendSize() {
            return preferredSendSize;
        }
    
        /**
         * Set the preferred size for send operations
         *
         * @param preferredSendSize preferred send size in bytes
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  4. cmd/event-notification.go

    	evnot.targetList.Remove(targetIDSet)
    }
    
    // Send - sends the event to all registered notification targets
    func (evnot *EventNotifier) Send(args eventArgs) {
    	evnot.RLock()
    	targetIDSet := evnot.bucketRulesMap[args.BucketName].Match(args.EventName, args.Object.Name)
    	evnot.RUnlock()
    
    	if len(targetIDSet) == 0 {
    		return
    	}
    
    	// If MINIO_API_SYNC_EVENTS is set, send events synchronously.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jun 21 22:22:24 GMT 2024
    - 7.7K bytes
    - Click Count (0)
  5. internal/logger/target/kafka/kafka.go

    		h.logEntry(entry)
    	}
    }
    
    func (h *Target) logEntry(entry any) {
    	atomic.AddInt64(&h.totalMessages, 1)
    	if err := h.send(entry); err != nil {
    		atomic.AddInt64(&h.failedMessages, 1)
    		h.kconfig.LogOnce(context.Background(), err, h.kconfig.Topic)
    	}
    }
    
    func (h *Target) send(entry any) error {
    	if err := h.initKafkaOnce.Do(h.init); err != nil {
    		return err
    	}
    	logJSON, err := json.Marshal(&entry)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/SocketEffect.kt

      ) : SocketEffect
    
      /**
       * On HTTP/2, send a [GOAWAY frame](https://tools.ietf.org/html/rfc7540#section-6.8) immediately
       * after the response and will close the connection when the client's socket is exhausted.
       *
       * On HTTP/1 this closes the socket.
       */
      public object ShutdownConnection : SocketEffect
    
      /**
       * On HTTP/2 this will send the error code on the stream.
       *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  7. internal/grid/benchmark_test.go

    					}
    					ctx, cancel := context.WithTimeout(b.Context(), 30*time.Second)
    					// Send the payload.
    					t := time.Now()
    					st, err := conn.NewStream(ctx, handlerTest, payload)
    					if err != nil {
    						if debugReqs {
    							fmt.Println(err.Error())
    						}
    						b.Fatal(err.Error())
    					}
    					got := 0
    					sent := 0
    					go func() {
    						for range messages {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            when(fileHandle.acquire()).thenReturn(fileHandle);
            when(fileHandle.getTree()).thenReturn(tree);
    
            // Mock response and send behavior
            Smb2IoctlResponse resp = mock(Smb2IoctlResponse.class);
            when(resp.getOutputLength()).thenReturn(42);
            when(tree.send(any(Smb2IoctlRequest.class), any())).thenReturn(resp);
    
            byte[] out = new byte[10];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/body.md

    * Si le paramètre est aussi déclaré dans le **chemin**, il sera utilisé comme paramètre de chemin.
    * Si le paramètre est d'un **type singulier** (comme `int`, `float`, `str`, `bool`, etc.), il sera interprété comme un paramètre de **requête**.
    * Si le paramètre est déclaré comme ayant pour type un **modèle Pydantic**, il sera interprété comme faisant partie du **corps** de la requête.
    
    /// note
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 7.6K bytes
    - Click Count (0)
  10. internal/event/targetlist.go

    	CurrentSendCalls int64 // CurrentSendCalls is the number of concurrent async Send calls to all targets
    	CurrentQueue     int   // Populated if target has a store.
    	TotalEvents      int64
    	FailedEvents     int64 // Number of failed events per target
    }
    
    // TargetList - holds list of targets indexed by target ID.
    type TargetList struct {
    	// The number of concurrent async Send calls to all targets
    	currentSendCalls  atomic.Int64
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top