Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 262 for asgi (0.27 seconds)

  1. docs/zh/docs/advanced/middleware.md

    以及如何[使用 `CORSMiddleware` 处理 CORS](../tutorial/cors.md)。
    
    本章学习如何使用其它中间件。
    
    ## 添加 ASGI 中间件 { #adding-asgi-middlewares }
    
    因为 **FastAPI** 基于 Starlette,且执行 <abbr title="Asynchronous Server Gateway Interface - 异步服务器网关接口">ASGI</abbr> 规范,所以可以使用任意 ASGI 中间件。
    
    中间件不必是专为 FastAPI 或 Starlette 定制的,只要遵循 ASGI 规范即可。
    
    总之,ASGI 中间件是类,并把 ASGI 应用作为第一个参数。
    
    因此,有些第三方 ASGI 中间件的文档推荐以如下方式使用中间件:
    
    ```Python
    from unicorn import UnicornMiddleware
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  2. docs/tr/docs/deployment/manually.md

    ## ASGI Sunucuları { #asgi-servers }
    
    Şimdi biraz daha detaya inelim.
    
    FastAPI, Python web framework'leri ve sunucularını inşa etmek için kullanılan <abbr title="Asynchronous Server Gateway Interface - Asenkron Sunucu Ağ Geçidi Arayüzü">ASGI</abbr> adlı bir standardı kullanır. FastAPI bir ASGI web framework'üdür.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  3. docs/ko/docs/deployment/manually.md

    예를 들어 이 명령은 컨테이너나 서버 등에서 **FastAPI** 앱을 시작할 때 사용할 수 있습니다.
    
    ## ASGI 서버 { #asgi-servers }
    
    이제 조금 더 자세히 살펴보겠습니다.
    
    FastAPI는 <abbr title="Asynchronous Server Gateway Interface - 비동기 서버 게이트웨이 인터페이스">ASGI</abbr>라고 불리는, Python 웹 프레임워크와 서버를 만들기 위한 표준을 사용합니다. FastAPI는 ASGI 웹 프레임워크입니다.
    
    원격 서버 머신에서 **FastAPI** 애플리케이션(또는 다른 ASGI 애플리케이션)을 실행하기 위해 필요한 핵심 요소는 **Uvicorn** 같은 ASGI 서버 프로그램입니다. `fastapi` 명령에는 기본으로 이것이 포함되어 있습니다.
    
    다음을 포함해 여러 대안이 있습니다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  4. docs/ko/docs/how-to/graphql.md

    * [Ariadne](https://ariadnegraphql.org/)
        * [FastAPI용 문서](https://ariadnegraphql.org/docs/fastapi-integration) 제공
    * [Tartiflette](https://tartiflette.io/)
        * ASGI 통합을 제공하기 위해 [Tartiflette ASGI](https://tartiflette.github.io/tartiflette-asgi/) 사용
    * [Graphene](https://graphene-python.org/)
        * [starlette-graphene3](https://github.com/ciscorn/starlette-graphene3) 사용
    
    ## Strawberry로 GraphQL 사용하기 { #graphql-with-strawberry }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  5. docs/ru/docs/deployment/manually.md

    Есть несколько альтернатив, например:
    
    * [Uvicorn](https://www.uvicorn.dev/): высокопроизводительный ASGI‑сервер.
    * [Hypercorn](https://hypercorn.readthedocs.io/): ASGI‑сервер, среди прочего совместимый с HTTP/2 и Trio.
    * [Daphne](https://github.com/django/daphne): ASGI‑сервер, созданный для Django Channels.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  6. docs/pt/docs/deployment/manually.md

    Existem diversas alternativas, incluindo:
    
    * [Uvicorn](https://www.uvicorn.dev/): um servidor ASGI de alta performance.
    * [Hypercorn](https://hypercorn.readthedocs.io/): um servidor ASGI compatível com HTTP/2, Trio e outros recursos.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  7. docs/en/docs/how-to/graphql.md

        * With [Tartiflette ASGI](https://tartiflette.github.io/tartiflette-asgi/) to provide ASGI integration
    * [Graphene](https://graphene-python.org/)
        * With [starlette-graphene3](https://github.com/ciscorn/starlette-graphene3)
    
    ## GraphQL with Strawberry { #graphql-with-strawberry }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  8. docs/ja/docs/deployment/manually.md

    これでほとんどのケースは動作します。😎
    
    このコマンドは、たとえばコンテナやサーバー内で **FastAPI** アプリを起動するのに使えます。
    
    ## ASGIサーバー { #asgi-servers }
    
    少し詳しく見ていきます。
    
    FastAPI は、Python の Web フレームワークとサーバーのための標準である <abbr title="Asynchronous Server Gateway Interface - 非同期サーバーゲートウェイインターフェース">ASGI</abbr> を使います。FastAPI は ASGI Web フレームワークです。
    
    リモートのサーバーマシンで **FastAPI** アプリケーション(や他の ASGI アプリケーション)を実行するのに主に必要なのは **Uvicorn** のような ASGI サーバープログラムです。これは `fastapi` コマンドにデフォルトで含まれています。
    
    他にもいくつかの選択肢があります:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  9. docs/ja/docs/how-to/graphql.md

    # GraphQL { #graphql }
    
    **FastAPI** は **ASGI** 標準に基づいているため、ASGI に対応した任意の **GraphQL** ライブラリを簡単に統合できます。
    
    同じアプリケーション内で通常の FastAPI の *path operation* と GraphQL を組み合わせて使えます。
    
    /// tip | 豆知識
    
    **GraphQL** は非常に特定のユースケースを解決します。
    
    一般的な **Web API** と比べると、**長所** と **短所** があります。
    
    ご自身のユースケースで得られる **利点** が **欠点** を補うかどうかを評価してください。 🤓
    
    ///
    
    ## GraphQL ライブラリ { #graphql-libraries }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  10. docs/zh/docs/how-to/graphql.md

    # GraphQL { #graphql }
    
    由于 **FastAPI** 基于 **ASGI** 标准,因此很容易集成任何也兼容 ASGI 的 **GraphQL** 库。
    
    你可以在同一个应用中将常规的 FastAPI 路径操作与 GraphQL 结合使用。
    
    /// tip | 提示
    
    **GraphQL** 解决一些非常特定的用例。
    
    与常见的 **Web API** 相比,它有各自的**优点**和**缺点**。
    
    请确保评估在你的用例中,这些**好处**是否足以弥补这些**缺点**。 🤓
    
    ///
    
    ## GraphQL 库 { #graphql-libraries }
    
    以下是一些支持 **ASGI** 的 **GraphQL** 库。你可以将它们与 **FastAPI** 一起使用:
    
    * [Strawberry](https://strawberry.rocks/) 🍓
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.6K bytes
    - Click Count (0)
Back to Top