Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 74 for asgi (0.03 seconds)

  1. docs/zh/docs/alternatives.md

    但它不提供自动的数据校验、序列化或文档。
    
    这正是 **FastAPI** 在其之上增加的主要内容之一,全部基于 Python 类型提示(通过 Pydantic)。此外还有依赖注入系统、安全工具、OpenAPI 模式生成等。
    
    /// note | 技术细节
    
    ASGI 是由 Django 核心团队成员推动的新“标准”。它尚不是正式的“Python 标准”(PEP),尽管正朝此方向推进。
    
    尽管如此,已有多种工具将其作为“标准”使用。这极大提升了互操作性:你可以把 Uvicorn 换成其他 ASGI 服务器(如 Daphne 或 Hypercorn),或添加 ASGI 兼容的工具,如 `python-socketio`。
    
    ///
    
    /// check | **FastAPI** 用它来:
    
    处理所有核心 Web 部分,并在其之上扩展功能。
    
    `FastAPI` 类本身直接继承自 `Starlette`。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  2. docs/en/docs/alternatives.md

    /// note | Technical Details
    
    ASGI is a new "standard" being developed by Django core team members. It is still not a "Python standard" (a PEP), although they are in the process of doing that.
    
    Nevertheless, it is already being used as a "standard" by several tools. This greatly improves interoperability, as you could switch Uvicorn for any other ASGI server (like Daphne or Hypercorn), or you could add ASGI compatible tools, like `python-socketio`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/alternatives.md

    但它不提供自動的資料驗證、序列化或文件。
    
    這正是 **FastAPI** 在其上方加入的主要功能之一,且全部基於 Python 型別提示(使用 Pydantic)。此外還有相依性注入系統、安全性工具、OpenAPI 結構產生等。
    
    /// note | 技術細節
    
    ASGI 是由 Django 核心團隊成員正在開發的新「標準」。它尚未成為「Python 標準」(PEP),但他們正著手進行中。
    
    儘管如此,它已被多個工具作為「標準」採用。這大幅提升了互通性,例如你可以把 Uvicorn 換成其他 ASGI 伺服器(如 Daphne 或 Hypercorn),或加入相容 ASGI 的工具,如 `python-socketio`。
    
    ///
    
    /// check | **FastAPI** 用於
    
    處理所有核心網頁部分,並在其上加上功能。
    
    `FastAPI` 這個類別本身直接繼承自 `Starlette` 類別。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 20K bytes
    - Click Count (0)
  4. docs/ko/docs/advanced/behind-a-proxy.md

    </div>
    
    Hypercorn을 사용한다면, Hypercorn에도 `--root-path` 옵션이 있습니다.
    
    /// note | 기술 세부사항
    
    ASGI 사양은 이 사용 사례를 위해 `root_path`를 정의합니다.
    
    그리고 커맨드 라인 옵션 `--root-path`가 그 `root_path`를 제공합니다.
    
    ///
    
    ### 현재 `root_path` 확인하기 { #checking-the-current-root-path }
    
    요청마다 애플리케이션에서 사용 중인 현재 `root_path`를 얻을 수 있는데, 이는 `scope` 딕셔너리(ASGI 사양의 일부)에 포함되어 있습니다.
    
    여기서는 데모 목적을 위해 메시지에 포함하고 있습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/advanced/behind-a-proxy.md

    ```
    
    </div>
    
    如果你使用 Hypercorn,它也有 `--root-path` 這個選項。
    
    /// note | 技術細節
    
    ASGI 規格針對這種用例定義了 `root_path`。
    
    而命令列選項 `--root-path` 就是提供該 `root_path`。
    
    ///
    
    ### 檢視目前的 `root_path` { #checking-the-current-root-path }
    
    你可以在每個請求中取得應用使用的 `root_path`,它是 `scope` 字典的一部分(ASGI 規格的一部分)。
    
    這裡我們把它放到回傳訊息中只是為了示範。
    
    {* ../../docs_src/behind_a_proxy/tutorial001_py310.py hl[8] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  6. docs/zh/docs/advanced/behind-a-proxy.md

    ```
    
    </div>
    
    如果你使用 Hypercorn,它也有 `--root-path` 选项。
    
    /// note | 技术细节
    
    ASGI 规范为这种用例定义了 `root_path`。
    
    命令行选项 `--root-path` 会提供该 `root_path`。
    
    ///
    
    ### 查看当前的 `root_path` { #checking-the-current-root-path }
    
    你可以获取应用在每个请求中使用的当前 `root_path`,它是 `scope` 字典的一部分(ASGI 规范的一部分)。
    
    这里我们把它包含在响应消息中仅用于演示。
    
    {* ../../docs_src/behind_a_proxy/tutorial001_py310.py hl[8] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  7. docs/ja/docs/alternatives.md

    /// note | 技術詳細
    
    ASGIはDjangoのコアチームメンバーにより開発された新しい「標準」です。まだ「Pythonの標準 (PEP) 」ではありませんが、現在そうなるように進めています。
    
    しかしながら、いくつかのツールにおいてすでに「標準」として利用されています。このことは互換性を大きく改善するもので、Uvicornから他のASGIサーバー (DaphneやHypercorn) に乗り換えることができたり、あなたが`python-socketio`のようなASGI互換のツールを追加することもできます。
    
    ///
    
    /// check | **FastAPI**での使用用途
    
    webに関するコアな部分を全て扱います。その上に機能を追加します。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/behind-a-proxy.md

    /// note | Technical Details
    
    The ASGI specification defines a `root_path` for this use case.
    
    And the `--root-path` command line option provides that `root_path`.
    
    ///
    
    ### Checking the current `root_path` { #checking-the-current-root-path }
    
    You can get the current `root_path` used by your application for each request, it is part of the `scope` dictionary (that's part of the ASGI spec).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  9. scripts/general-llm-prompt.md

    <abbr title="JSON Web Tokens">JWT</abbr>
    <abbr title="Enumeration">Enum</abbr>
    <abbr title="Asynchronous Server Gateway Interface">ASGI</abbr>
    ```
    
    Result (German):
    
    ```
    <abbr title="JSON Web Tokens">JWT</abbr>
    <abbr title="Enumeration">Enum</abbr>
    <abbr title="Asynchrones Server-Gateway-Interface">ASGI</abbr>
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Mar 18 10:55:36 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  10. docs/ja/docs/advanced/behind-a-proxy.md

    </div>
    
    Hypercorn を使う場合も、同様に `--root-path` オプションがあります。
    
    /// note | 技術詳細
    
    このユースケース向けに、ASGI 仕様は `root_path` を定義しています。
    
    そして `--root-path` コマンドラインオプションは、その `root_path` を提供します。
    
    ///
    
    ### 現在の `root_path` の確認 { #checking-the-current-root-path }
    
    各リクエストでアプリケーションが使用している現在の `root_path` は取得できます。これは(ASGI 仕様の一部である)`scope` 辞書に含まれます。
    
    ここではデモのため、メッセージに含めています。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 18.9K bytes
    - Click Count (0)
Back to Top