Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 270 for sena (0.02 seconds)

  1. internal/grid/muxserver.go

    	// Each token represents a message that can be sent to the client without blocking.
    	// The client will refill the tokens as they confirm delivery of the messages.
    	for range outboundCap {
    		m.outBlock <- struct{}{}
    	}
    
    	// Handler goroutine.
    	var handlerErr atomic.Pointer[RemoteErr]
    	go func() {
    		wg.Wait()
    		defer xioutil.SafeClose(send)
    		err := m.handleRequests(ctx, msg, send, handler, handlerIn)
    		if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt

       * closing, closed, or canceled.
       *
       * This method returns immediately.
       */
      fun send(bytes: ByteString): Boolean
    
      /**
       * Attempts to initiate a graceful shutdown of this web socket. Any already-enqueued messages will
       * be transmitted before the close message is sent but subsequent calls to [send] will return
       * false and their messages will not be enqueued.
       *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

                            logger.debug("Sent {} to {}.", body, url);
                        }
                    } else {
                        logger.warn("Failed to send {} to {}. HTTP Status is {}. {}", body, url, response.getHttpStatusCode(),
                                response.getContentAsString());
                    }
                } catch (final IOException e) {
                    logger.warn("Failed to send {} to {}.", body, url, e);
                }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  4. fastapi/security/api_key.py

        with the API key and integrates that into the OpenAPI documentation. It extracts
        the key value sent in the query parameter automatically and provides it as the
        dependency result. But it doesn't define how to send that API key to the client.
    
        ## Usage
    
        Create an instance object and use that object as the dependency in `Depends()`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 9.6K bytes
    - Click Count (1)
  5. src/main/java/org/codelibs/curl/Curl.java

         */
        protected Curl() {
            // nothing
        }
    
        /**
         * Creates a new CurlRequest with the HTTP GET method for the specified URL.
         *
         * @param url the URL to send the GET request to
         * @return a CurlRequest object configured with the GET method and the specified URL
         */
        public static CurlRequest get(final String url) {
            return new CurlRequest(Method.GET, url);
        }
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/extra-models.md

    # Modelos Adicionais { #extra-models }
    
    Continuando com o exemplo anterior, será comum ter mais de um modelo relacionado.
    
    Isso é especialmente o caso para modelos de usuários, porque:
    
    * O **modelo de entrada** precisa ser capaz de ter uma senha.
    * O **modelo de saída** não deve ter uma senha.
    * O **modelo de banco de dados** provavelmente precisaria ter uma senha com hash.
    
    /// danger | Cuidado
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.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
    - 5.4K bytes
    - Click Count (0)
  8. internal/event/target/nsq.go

    	}
    
    	if err := target.init(); err != nil {
    		return err
    	}
    
    	_, err := target.isActive()
    	if err != nil {
    		return err
    	}
    	return target.send(eventData)
    }
    
    // send - sends an event to the NSQ.
    func (target *NSQTarget) send(eventData event.Event) error {
    	objectName, err := url.QueryUnescape(eventData.S3.Object.Key)
    	if err != nil {
    		return err
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_background_tasks/test_tutorial001.py

    
    def test():
        log = Path("log.txt")
        if log.is_file():
            os.remove(log)  # pragma: no cover
        response = client.post("/send-notification/******@****.***")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Notification sent in the background"}
        with open("./log.txt") as f:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 583 bytes
    - Click Count (0)
  10. docs_src/background_tasks/tutorial002_an_py310.py

            background_tasks.add_task(write_log, message)
        return q
    
    
    @app.post("/send-notification/{email}")
    async def send_notification(
        email: str, background_tasks: BackgroundTasks, q: Annotated[str, Depends(get_query)]
    ):
        message = f"message to {email}\n"
        background_tasks.add_task(write_log, message)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 683 bytes
    - Click Count (0)
Back to Top