- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for what (0.13 sec)
-
docs/ja/docs/advanced/websockets.md
``` 試してみるには、 * いくつかのブラウザタブでアプリを開きます。 * それらのタブでメッセージを記入してください。 * そして、タブのうち1つを閉じてください。 これにより例外 `WebSocketDisconnect` が発生し、他のすべてのクライアントは次のようなメッセージを受信します。 ``` Client #1596980209979 left the chat ``` !!! tip "豆知識" 上記のアプリは、複数の WebSocket 接続に対してメッセージを処理し、ブロードキャストする方法を示すための最小限のシンプルな例です。 しかし、すべての接続がメモリ内の単一のリストで処理されるため、プロセスの実行中にのみ機能し、単一のプロセスでのみ機能することに注意してください。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Nov 13 13:58:31 GMT 2022 - 7.2K bytes - Viewed (0) -
docs/en/docs/reference/websockets.md
It is provided directly by Starlette, but you can import it from `fastapi`: ```python from fastapi import WebSocket ``` !!! tip When you want to define dependencies that should be compatible with both HTTP and WebSockets, you can define a parameter that takes an `HTTPConnection` instead of a `Request` or a `WebSocket`. ::: fastapi.WebSocket options: members: - scope - app - url
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 1.6K bytes - Viewed (0) -
docs/de/docs/advanced/websockets.md
* 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 ``` !!! tip "Tipp" Die obige Anwendung ist ein minimales und einfaches Beispiel, das zeigt, wie Nachrichten verarbeitet und an mehrere WebSocket-Verbindungen gesendet werden.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:17:58 GMT 2024 - 6.9K bytes - Viewed (0) -
docs/en/docs/advanced/websockets.md
* 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 The app above is a minimal and simple example to demonstrate how to handle and broadcast messages to several WebSocket connections.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 6.2K bytes - Viewed (0) -
docs/zh/docs/advanced/websockets.md
``` 尝试以下操作: * 使用多个浏览器选项卡打开应用程序。 * 从这些选项卡中发送消息。 * 然后关闭其中一个选项卡。 这将引发 `WebSocketDisconnect` 异常,并且所有其他客户端都会收到类似以下的消息: ``` Client #1596980209979 left the chat ``` !!! tip 上面的应用程序是一个最小和简单的示例,用于演示如何处理和向多个 WebSocket 连接广播消息。 但请记住,由于所有内容都在内存中以单个列表的形式处理,因此它只能在进程运行时工作,并且只能使用单个进程。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 6K bytes - Viewed (0) -
docs/em/docs/advanced/websockets.md
``` 🔄 ⚫️ 👅: * 📂 📱 ⏮️ 📚 🖥 📑. * ✍ 📧 ⚪️➡️ 👫. * ⤴️ 🔐 1️⃣ 📑. 👈 🔜 🤚 `WebSocketDisconnect` ⚠, & 🌐 🎏 👩💻 🔜 📨 📧 💖: ``` Client #1596980209979 left the chat ``` !!! tip 📱 🔛 ⭐ & 🙅 🖼 🎦 ❔ 🍵 & 📻 📧 📚 *️⃣ 🔗. ✋️ ✔️ 🤯 👈, 🌐 🍵 💾, 👁 📇, ⚫️ 🔜 🕴 👷 ⏪ 🛠️ 🏃, & 🔜 🕴 👷 ⏮️ 👁 🛠️.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 4.8K bytes - Viewed (0)