Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for WebSockets (0.13 sec)

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

    # WebSockets
    
    Sie können <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API" class="external-link" target="_blank">WebSockets</a> mit **FastAPI** verwenden.
    
    ## `WebSockets` installieren
    
    Zuerst müssen Sie `WebSockets` installieren:
    
    <div class="termy">
    
    ```console
    $ pip install websockets
    
    ---> 100%
    ```
    
    </div>
    
    ## WebSockets-Client
    
    ### In Produktion
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. docs/en/docs/reference/websockets.md

    ```
    
    ::: fastapi.WebSocketDisconnect
    
    ## WebSockets - additional classes
    
    Additional classes for handling WebSockets.
    
    Provided directly by Starlette, but you can import it from `fastapi`:
    
    ```python
    from fastapi.websockets import WebSocketDisconnect, WebSocketState
    ```
    
    ::: fastapi.websockets.WebSocketDisconnect
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/websockets.md

    # WebSockets
    
    You can use <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API" class="external-link" target="_blank">WebSockets</a> with **FastAPI**.
    
    ## Install `WebSockets`
    
    Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and install `websockets`:
    
    <div class="termy">
    
    ```console
    $ pip install websockets
    
    ---> 100%
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/testing-websockets.md

    # Testando WebSockets
    
    Você pode usar o mesmo `TestClient` para testar WebSockets.
    
    Para isso, você utiliza o `TestClient` dentro de uma instrução `with`, conectando com o WebSocket:
    
    ```Python hl_lines="27-31"
    {!../../docs_src/app_testing/tutorial002.py!}
    ```
    
    /// note | "Nota"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 488 bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/websockets.md

    # WebSockets
    
    Você pode usar <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API" class="external-link" target="_blank">WebSockets</a> com **FastAPI**.
    
    ## Instalando `WebSockets`
    
    Garanta que você criou um [ambiente virtual](../virtual-environments.md){.internal-link target=_blank}, o ativou e instalou o `websockets`:
    
    <div class="termy">
    
    ```console
    $ pip install websockets
    
    ---> 100%
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:20:59 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. docs/zh/docs/advanced/websockets.md

    # WebSockets
    
    您可以在 **FastAPI** 中使用 [WebSockets](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API)。
    
    ## 安装 `WebSockets`
    
    首先,您需要安装 `WebSockets`:
    
    ```console
    $ pip install websockets
    
    ---> 100%
    ```
    
    ## WebSockets 客户端
    
    ### 在生产环境中
    
    在您的生产系统中,您可能使用现代框架(如React、Vue.js或Angular)创建了一个前端。
    
    要使用 WebSockets 与后端进行通信,您可能会使用前端的工具。
    
    或者,您可能有一个原生移动应用程序,直接使用原生代码与 WebSocket 后端通信。
    
    或者,您可能有其他与 WebSocket 终端通信的方式。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. docs/em/docs/advanced/websockets.md

    👆 🔜 👀 🙅 📃 💖:
    
    <img src="/img/tutorial/websockets/image01.png">
    
    👆 💪 🆎 📧 🔢 📦, &amp; 📨 👫:
    
    <img src="/img/tutorial/websockets/image02.png">
    
    &amp; 👆 **FastAPI** 🈸 ⏮️ *️⃣ 🔜 📨 🔙:
    
    <img src="/img/tutorial/websockets/image03.png">
    
    👆 💪 📨 (&amp; 📨) 📚 📧:
    
    <img src="/img/tutorial/websockets/image04.png">
    
    &amp; 🌐 👫 🔜 ⚙️ 🎏 *️⃣ 🔗.
    
    ## ⚙️ `Depends` &amp; 🎏
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. docs/ja/docs/advanced/websockets.md

    次のようなシンプルなページが表示されます。
    
    <img src="/img/tutorial/websockets/image01.png">
    
    入力ボックスにメッセージを入力して送信できます。
    
    <img src="/img/tutorial/websockets/image02.png">
    
    そして、 WebSocketを使用した**FastAPI**アプリケーションが応答します。
    
    <img src="/img/tutorial/websockets/image03.png">
    
    複数のメッセージを送信(および受信)できます。
    
    <img src="/img/tutorial/websockets/image04.png">
    
    そして、これらの通信はすべて同じWebSocket接続を使用します。
    
    ## 依存関係
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. fastapi/websockets.py

    from starlette.websockets import WebSocket as WebSocket  # noqa
    from starlette.websockets import WebSocketDisconnect as WebSocketDisconnect  # noqa
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Sep 04 15:12:10 UTC 2022
    - 222 bytes
    - Viewed (0)
  10. docs/tr/docs/advanced/testing-websockets.md

    # WebSockets'i Test Etmek
    
    WebSockets testi yapmak için `TestClient`'ı kullanabilirsiniz.
    
    Bu işlem için, `TestClient`'ı bir `with` ifadesinde kullanarak WebSocket'e bağlanabilirsiniz:
    
    ```Python hl_lines="27-31"
    {!../../docs_src/app_testing/tutorial002.py!}
    ```
    
    /// note | "Not"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 472 bytes
    - Viewed (0)
Back to top