Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _tabs (0.14 sec)

  1. docs/de/docs/advanced/websockets.md

        ```Python hl_lines="81-83"
        {!> ../../../docs_src/websockets/tutorial003.py!}
        ```
    
    Zum Ausprobieren:
    
    * Öffnen Sie die Anwendung mit mehreren Browser-Tabs.
    * Schreiben Sie Nachrichten in den Tabs.
    * Schließen Sie dann einen der Tabs.
    
    Das wird die Ausnahme `WebSocketDisconnect` auslösen und alle anderen Clients erhalten eine Nachricht wie:
    
    ```
    Client #1596980209979 left the chat
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:17:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/websockets.md

    === "Python 3.8+"
    
        ```Python hl_lines="81-83"
        {!> ../../../docs_src/websockets/tutorial003.py!}
        ```
    
    To try it out:
    
    * Open the app with several browser tabs.
    * Write messages from them.
    * Then close one of the tabs.
    
    That will raise the `WebSocketDisconnect` exception, and all the other clients will receive a message like:
    
    ```
    Client #1596980209979 left the chat
    ```
    
    !!! tip
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top