Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for an (0.12 sec)

  1. docs/en/docs/advanced/websockets.md

        ```Python hl_lines="68-69  82"
        {!> ../../../docs_src/websockets/tutorial002_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="68-69  82"
        {!> ../../../docs_src/websockets/tutorial002_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="69-70  83"
        {!> ../../../docs_src/websockets/tutorial002_an.py!}
        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
    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)
  2. docs/zh/docs/advanced/websockets.md

        ```Python hl_lines="68-69  82"
        {!> ../../../docs_src/websockets/tutorial002_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="68-69  82"
        {!> ../../../docs_src/websockets/tutorial002_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="69-70  83"
        {!> ../../../docs_src/websockets/tutorial002_an.py!}
        ```
    
    === "Python 3.10+ 非带注解版本"
    
        !!! tip
    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)
  3. docs/de/docs/reference/websockets.md

    # WebSockets
    
    Bei der Definition von WebSockets deklarieren Sie normalerweise einen Parameter vom Typ `WebSocket` und können damit Daten vom Client lesen und an ihn senden. Er wird direkt von Starlette bereitgestellt, Sie können ihn aber von `fastapi` importieren:
    
    ```python
    from fastapi import WebSocket
    ```
    
    !!! tip "Tipp"
    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)
  4. docs/de/docs/advanced/websockets.md

        ```Python hl_lines="68-69  82"
        {!> ../../../docs_src/websockets/tutorial002_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="68-69  82"
        {!> ../../../docs_src/websockets/tutorial002_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="69-70  83"
        {!> ../../../docs_src/websockets/tutorial002_an.py!}
        ```
    
    === "Python 3.10+ nicht annotiert"
    
    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)
  5. docs/en/docs/reference/websockets.md

    ```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
                - base_url
                - headers
    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)
Back to top