Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 1,855 for messages (0.23 seconds)

  1. docs/zh-hant/docs/advanced/websockets.md

    /// note | 技術細節
    
    你也可以使用 `from starlette.websockets import WebSocket`。
    
    **FastAPI** 直接提供相同的 `WebSocket` 只是為了方便你這位開發者,但它其實是直接來自 Starlette。
    
    ///
    
    ## 等待與傳送訊息 { #await-for-messages-and-send-messages }
    
    在你的 WebSocket 路由中,你可以 `await` 接收訊息並傳送訊息。
    
    {* ../../docs_src/websockets_/tutorial001_py310.py hl[48:52] *}
    
    你可以接收與傳送二進位、文字與 JSON 資料。
    
    ## 試試看 { #try-it }
    
    如果你的檔案名為 `main.py`,用以下指令執行應用:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

                if (verbose) {
                  println(record.message)
                  println(record.parameters[0])
                }
    
                // JSSE logs additional messages as parameters that are not referenced in the log message.
                val parameter = parameters[0] as String
    
                if (message == "Produced ClientHello handshake message") {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java

                    logger.debug("FuzzyQuery: query={}, boost={}", query, boost);
                }
                return convertFuzzyQuery(context, fuzzyQuery, boost);
            }
            throw new InvalidQueryException(messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY),
                    "Unknown q: " + query.getClass() + " => " + query);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

    import jcifs.internal.CommonServerMessageBlockResponse;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.smb.NtStatus;
    
    /**
     * Base class for SMB2/SMB3 response messages.
     *
     * This abstract class provides common functionality for handling
     * response messages in the SMB2/SMB3 protocol.
     *
     * @author mbechler
     */
    public abstract class ServerMessageBlock2Response extends ServerMessageBlock2 implements CommonServerMessageBlockResponse {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                return dstIndex - start;
            }
    
            /* The message provided to batch has a batchLimit that is
             * higher than the current batchLevel so we will now encode
             * that chained message. Before doing so we must increment
             * the batchLevel of the andx message in case it itself is an
             * andx message and needs to perform the same check as above.
             */
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. samples/slack/src/main/java/okhttp3/slack/RtmSession.java

      @Override public synchronized void onOpen(WebSocket webSocket, Response response) {
        System.out.println("onOpen: " + response);
      }
    
      // TOOD(jwilson): decode incoming messages and dispatch them somewhere.
      @Override public void onMessage(WebSocket webSocket, String text) {
        System.out.println("onMessage: " + text);
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Nov 19 20:16:58 GMT 2016
    - 2.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/util/transport/Request.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.util.transport;
    
    /**
     * Interface for transport request messages.
     * This interface represents requests sent to network transports.
     */
    public interface Request extends Message {
    
        /**
         * Gets the number of credits this request requires.
         *
         * @return number of credits this request requires
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/testing/TestLogHandler.java

    import java.util.List;
    import java.util.logging.Handler;
    import java.util.logging.LogRecord;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests may use this to intercept messages that are logged by the code under test. Example:
     *
     * <pre>
     *   TestLogHandler handler;
     *
     *   protected void setUp() throws Exception {
     *     super.setUp();
     *     handler = new TestLogHandler();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  9. src/main/java/jcifs/Encodable.java

     */
    package jcifs;
    
    /**
     * Interface for objects that can be encoded to a byte buffer.
     * This interface provides methods for serializing data to SMB protocol messages.
     *
     * @author mbechler
     */
    public interface Encodable {
    
        /**
         * Encodes this object into the specified byte array.
         *
         * @param dst the destination byte array to encode into
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

         *
         * @throws MojoExecutionException if an unexpected problem occurs.
         * Throwing this exception causes a "BUILD ERROR" message to be displayed.
         * @throws MojoFailureException if an expected problem (such as a compilation failure) occurs.
         * Throwing this exception causes a "BUILD FAILURE" message to be displayed.
         */
        void execute() throws MojoExecutionException, MojoFailureException;
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
Back to Top