Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for opzione (0.25 sec)

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

    But for this example, we'll use a very simple HTML document with some JavaScript, all inside a long string.
    
    This, of course, is not optimal and you wouldn't use it for production.
    
    In production you would have one of the options above.
    
    But it's the simplest way to focus on the server-side of WebSockets and have a working example:
    
    ```Python hl_lines="2  6-38  41-43"
    {!../../../docs_src/websockets/tutorial001.py!}
    ```
    
    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/en/docs/reference/websockets.md

    !!! 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
                - query_params
                - path_params
                - cookies
    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)
  3. docs/de/docs/advanced/websockets.md

    Das ist natürlich nicht optimal und man würde das nicht in der Produktion machen.
    
    In der Produktion hätten Sie eine der oben genannten Optionen.
    
    Aber es ist die einfachste Möglichkeit, sich auf die Serverseite von WebSockets zu konzentrieren und ein funktionierendes Beispiel zu haben:
    
    ```Python hl_lines="2  6-38  41-43"
    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)
  4. docs/de/docs/reference/websockets.md

    ::: fastapi.WebSocket
        options:
            members:
                - scope
                - app
                - url
                - base_url
                - headers
                - query_params
                - path_params
                - cookies
    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)
Back to top