Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for websocket (0.21 sec)

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

    ## Create a `websocket` { #create-a-websocket }
    
    In your **FastAPI** application, create a `websocket`:
    
    {* ../../docs_src/websockets/tutorial001.py hl[1,46:47] *}
    
    /// note | Technical Details
    
    You could also use `from starlette.websockets import WebSocket`.
    
    **FastAPI** provides the same `WebSocket` directly just as a convenience for you, the developer. But it comes directly from Starlette.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/testing-websockets.md

    # Testing WebSockets { #testing-websockets }
    
    You can use the same `TestClient` to test WebSockets.
    
    For this, you use the `TestClient` in a `with` statement, connecting to the WebSocket:
    
    {* ../../docs_src/app_testing/tutorial002.py hl[27:31] *}
    
    /// note
    
    For more details, check Starlette's documentation for <a href="https://www.starlette.io/testclient/#testing-websocket-sessions" class="external-link" target="_blank">testing WebSockets</a>.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 453 bytes
    - Viewed (0)
  3. go.mod

    	github.com/googleapis/enterprise-certificate-proxy v0.3.6 // indirect
    	github.com/googleapis/gax-go/v2 v2.14.1 // indirect
    	github.com/gorilla/mux v1.8.1 // indirect
    	github.com/gorilla/websocket v1.5.3 // indirect
    	github.com/hashicorp/errwrap v1.1.0 // indirect
    	github.com/hashicorp/go-multierror v1.1.1 // indirect
    	github.com/hashicorp/go-uuid v1.0.3 // indirect
    	github.com/hashicorp/golang-lru v1.0.2 // indirect
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:33:19 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. docs/en/docs/features.md

    * Seriously impressive performance. It is <a href="https://github.com/encode/starlette#performance" class="external-link" target="_blank">one of the fastest Python frameworks available, on par with **NodeJS** and **Go**</a>.
    * **WebSocket** support.
    * In-process background tasks.
    * Startup and shutdown events.
    * Test client built on HTTPX.
    * **CORS**, GZip, Static Files, Streaming responses.
    * **Session and Cookie** support.
    * 100% test coverage.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. docs/en/docs/alternatives.md

    It is very simple and intuitive. It's designed to be easily extensible, and have modular components.
    
    It has:
    
    * Seriously impressive performance.
    * WebSocket support.
    * In-process background tasks.
    * Startup and shutdown events.
    * Test client built on HTTPX.
    * CORS, GZip, Static Files, Streaming responses.
    * Session and Cookie support.
    * 100% test coverage.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  6. go.sum

    github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4=
    github.com/gorilla/sessions v1.2.1/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM=
    github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg=
    github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
    github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:33:19 UTC 2025
    - 79.9K bytes
    - Viewed (0)
  7. docs/id/docs/index.md

    * Integrasi **GraphQL** dengan <a href="https://strawberry.rocks" class="external-link" target="_blank">Strawberry</a> dan library lainnya.
    * Fitur lainnya (berkat Starlette) seperti:
        * **WebSocket**
        * Test yang sangat mudah berdasarkan HTTPX dan `pytest`
        * **CORS**
        * **Cookie Session**
        * ...dan lainnya.
    
    ## Performa
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. docs/fa/docs/index.md

    * تکنیک پیشرفته برای تعریف **مدل‌های چند سطحی JSON** (بر اساس Pydantic).
    * قابلیت‌های اضافی دیگر (بر اساس Starlette) شامل:
        * **<abbr title="WebSocket">وب‌سوکت</abbr>**
        * **GraphQL**
        * تست‌های خودکار آسان مبتنی بر HTTPX و `pytest`
        * **CORS**
        * **Cookie Sessions**
        * و موارد بیشمار دیگر.
    
    ## کارایی
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 26K bytes
    - Viewed (0)
  9. docs/ja/docs/async.md

    これが、Web APIへの非同期⏸🔀⏯コードの利用が理にかなっている理由です。
    
    ほとんどの既存の人気のあるPythonフレームワーク (FlaskやDjangoを含む) は、Pythonの新しい非同期機能ができる前に作成されました。したがって、それらをデプロイする方法は、並列実行と、新機能ほど強力ではない古い形式の非同期実行をサポートします。
    
    しかし、WebSocketのサポートを追加するために、非同期Web Python (ASGI) の主な仕様はDjangoで開発されました。
    
    そのような非同期性がNodeJSを人気にした理由です (NodeJSは並列ではありませんが)。そして、プログラミング言語としてのGoの強みでもあります。
    
    そして、それは**FastAPI**で得られるパフォーマンスと同じレベルです。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  10. docs/en/docs/release-notes.md

    ## 0.24.0
    
    * Add support for WebSockets with dependencies and parameters.
        * Support included for:
            * `Depends`
            * `Security`
            * `Cookie`
            * `Header`
            * `Path`
            * `Query`
            * ...as these are compatible with the WebSockets protocol (e.g. `Body` is not).
        * [Updated documentation for WebSockets](https://fastapi.tiangolo.com/advanced/websockets/).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
Back to top