Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

        taskFaker.runTasks()
        assertThat(client.closed).isTrue()
        server.listener.assertExhausted() // Client should not have sent second close.
        client.listener.assertExhausted() // Server should not have sent second close.
      }
    
      @Test
      fun serverCloseBreaksReadMessageLoop() {
        server.webSocket!!.send("Hello!")
        server.webSocket!!.close(1000, "Bye!")
        assertThat(client.processNextFrame()).isTrue()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      }
    
      // Writer methods to enqueue frames. They'll be sent asynchronously by the writer thread.
    
      override fun send(text: String): Boolean = send(text.encodeUtf8(), OPCODE_TEXT)
    
      override fun send(bytes: ByteString): Boolean = send(bytes, OPCODE_BINARY)
    
      @Synchronized private fun send(
        data: ByteString,
        formatOpcode: Int,
      ): Boolean {
        // Don't send new frames after we've failed or enqueued a close frame.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  3. 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)
  4. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            // Verify interactions
            verify(tree, times(1)).send(isA(Trans2FindFirst2.class), any(Trans2FindFirst2Response.class));
            // Verify that Trans2FindNext2 was sent twice for fetching more entries
            verify(tree, times(2)).send(isA(Trans2FindNext2.class), any(Trans2FindFirst2Response.class));
    
            // Close should have sent FindClose2 exactly once
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt

            flags = FLAG_ACK,
          )
          sink.flush()
        }
      }
    
      /**
       * HTTP/2 only. Send a push promise header block.
       *
       * A push promise contains all the headers that pertain to a server-initiated request, and a
       * `promisedStreamId` to which response frames will be delivered. Push promise frames are sent as
       * a part of the response to `streamId`. The `promisedStreamId` has a priority of one greater than
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11K bytes
    - Click Count (0)
  10. 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)
Back to Top