- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for receiver (0.21 sec)
-
docs/ja/docs/advanced/websockets.md
!!! tip "豆知識" クエリ `token` は依存パッケージによって処理されることに注意してください。 これにより、WebSocketに接続してメッセージを送受信できます。 <img src="/img/tutorial/websockets/image05.png"> ## 切断や複数クライアントへの対応 WebSocket接続が閉じられると、 `await websocket.receive_text()` は例外 `WebSocketDisconnect` を発生させ、この例のようにキャッチして処理することができます。 ```Python hl_lines="81-83" {!../../../docs_src/websockets/tutorial003.py!} ``` 試してみるには、 * いくつかのブラウザタブでアプリを開きます。
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/advanced/websockets.md
Notice that the query `token` will be handled by a dependency. With that you can connect the WebSocket and then send and receive messages: <img src="/img/tutorial/websockets/image05.png"> ## Handling disconnections and multiple clients When a WebSocket connection is closed, the `await websocket.receive_text()` will raise a `WebSocketDisconnect` exception, which you can then catch and handle like in this example. === "Python 3.9+"
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
* "Token",作为查询参数。 !!! tip 注意,查询参数 `token` 将由依赖项处理。 通过这样,您可以连接 WebSocket,然后发送和接收消息: <img src="/img/tutorial/websockets/image05.png"> ## 处理断开连接和多个客户端 当 WebSocket 连接关闭时,`await websocket.receive_text()` 将引发 `WebSocketDisconnect` 异常,您可以捕获并处理该异常,就像本示例中的示例一样。 === "Python 3.9+" ```Python hl_lines="79-81" {!> ../../../docs_src/websockets/tutorial003_py39.py!} ``` === "Python 3.8+"
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/en/docs/reference/websockets.md
- client - state - url_for - client_state - application_state - receive - send - accept - receive_text - receive_bytes - receive_json - iter_text - iter_bytes - iter_json - send_text - send_bytes - send_json
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
<img src="/img/tutorial/websockets/image05.png"> ## Verbindungsabbrüche und mehreren Clients handhaben Wenn eine WebSocket-Verbindung geschlossen wird, löst `await websocket.receive_text()` eine `WebSocketDisconnect`-Exception aus, die Sie dann wie in folgendem Beispiel abfangen und behandeln können. === "Python 3.9+" ```Python hl_lines="79-81"
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/de/docs/reference/websockets.md
- client - state - url_for - client_state - application_state - receive - send - accept - receive_text - receive_bytes - receive_json - iter_text - iter_bytes - iter_json - send_text - send_bytes - send_json
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:16:27 GMT 2024 - 1.8K bytes - Viewed (0) -
docs/em/docs/advanced/websockets.md
!!! tip 👀 👈 🔢 `token` 🔜 🍵 🔗. ⏮️ 👈 👆 💪 🔗 *️⃣ & ⤴️ 📨 & 📨 📧: <img src="/img/tutorial/websockets/image05.png"> ## 🚚 🔀 & 💗 👩💻 🕐❔ *️⃣ 🔗 📪, `await websocket.receive_text()` 🔜 🤚 `WebSocketDisconnect` ⚠, ❔ 👆 💪 ⤴️ ✊ & 🍵 💖 👉 🖼. ```Python hl_lines="81-83" {!../../../docs_src/websockets/tutorial003.py!} ``` 🔄 ⚫️ 👅: * 📂 📱 ⏮️ 📚 🖥 📑. * ✍ 📧 ⚪️➡️ 👫.
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)