Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 98 for ASGI (0.08 sec)

  1. docs/pt/docs/advanced/behind-a-proxy.md

    A especificação ASGI define um `root_path` para esse caso de uso.
    
    E a opção de linha de comando `--root-path` fornece esse `root_path`.
    
    ///
    
    ### Verificando o `root_path` atual { #checking-the-current-root-path }
    
    Você pode obter o `root_path` atual usado pela sua aplicação para cada solicitação, ele faz parte do dicionário `scope` (que faz parte da especificação ASGI).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  2. docs/es/docs/advanced/behind-a-proxy.md

    La especificación ASGI define un `root_path` para este caso de uso.
    
    Y la opción de línea de comandos `--root-path` proporciona ese `root_path`.
    
    ///
    
    ### Revisar el `root_path` actual { #checking-the-current-root-path }
    
    Puedes obtener el `root_path` actual utilizado por tu aplicación para cada request, es parte del diccionario `scope` (que es parte de la especificación ASGI).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/events.md

    ## Technische Details { #technical-details }
    
    Nur ein technisches Detail für die neugierigen Nerds. 🤓
    
    In der technischen ASGI-Spezifikation ist dies Teil des <a href="https://asgi.readthedocs.io/en/latest/specs/lifespan.html" class="external-link" target="_blank">Lifespan Protokolls</a> und definiert Events namens `startup` und `shutdown`.
    
    /// info | Info
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/sub-applications.md

    下图显示的是子应用的 API 文档,也是只包括其自有的*路径操作*,所有这些路径操作都在 `/subapi` 子路径前缀下。
    
    <img src="/img/tutorial/sub-applications/image02.png">
    
    两个用户界面都可以正常运行,因为浏览器能够与每个指定的应用或子应用会话。
    
    ### 技术细节:`root_path`
    
    以上述方式挂载子应用时,FastAPI 使用 ASGI 规范中的 `root_path` 机制处理挂载子应用路径之间的通信。
    
    这样,子应用就可以为自动文档使用路径前缀。
    
    并且子应用还可以再挂载子应用,一切都会正常运行,FastAPI 可以自动处理所有 `root_path`。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. docs/fr/docs/benchmarks.md

    La hiérarchie est la suivante :
    
    * **Uvicorn** : un serveur ASGI
        * **Starlette** : (utilise Uvicorn) un micro-framework web
            * **FastAPI**: (utilise Starlette) un micro-framework pour API disposant de fonctionnalités additionnelles pour la création d'API, avec la validation des données, etc.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Jul 27 18:49:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. docs/en/docs/benchmarks.md

    The simpler the problem solved by the tool, the better performance it will get. And most of the benchmarks don't test the additional features provided by the tool.
    
    The hierarchy is like:
    
    * **Uvicorn**: an ASGI server
        * **Starlette**: (uses Uvicorn) a web microframework
            * **FastAPI**: (uses Starlette) an API microframework with several additional features for building APIs, with data validation, etc.
    
    * **Uvicorn**:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. docs/ko/docs/advanced/events.md

    이러한 작업을 별도의 함수로 처리하면 서로 로직이나 변수를 공유하지 않기 때문에 더 어려워집니다. 값들을 전역 변수에 저장하거나 비슷한 트릭을 사용해야 할 수 있습니다.
    
    그렇기 때문에 위에서 설명한 대로 `lifespan`을 사용하는 것이 권장됩니다.
    
    ## 기술적 세부사항
    
    호기심 많은 분들을 위한 기술적인 세부사항입니다. 🤓
    
    ASGI 기술 사양에 따르면, 이는 <a href="https://asgi.readthedocs.io/en/latest/specs/lifespan.html" class="external-link" target="_blank">Lifespan Protocol</a>의 일부이며, `startup`과 `shutdown`이라는 이벤트를 정의합니다.
    
    /// info | 정보
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/behind-a-proxy.md

    In diesen Fällen können Sie <abbr title="Wurzelpfad">`root_path`</abbr> verwenden, um Ihre Anwendung zu konfigurieren.
    
    Der `root_path` ist ein Mechanismus, der von der ASGI-Spezifikation bereitgestellt wird (auf der FastAPI via Starlette aufbaut).
    
    Der `root_path` wird verwendet, um diese speziellen Fälle zu handhaben.
    
    Und er wird auch intern beim Mounten von Unteranwendungen verwendet.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/events.md

    在不共享逻辑或变量的不同函数中处理这些逻辑比较困难,因为你需要在全局变量中存储值或使用类似的方式。
    
    因此,推荐使用 `lifespan` 。
    
    ## 技术细节
    
    只是为好奇者提供的技术细节。🤓
    
    在底层,这部分是<a href="https://asgi.readthedocs.io/en/latest/specs/lifespan.html" class="external-link" target="_blank">生命周期协议</a>的一部分,参见 ASGI 技术规范,定义了称为启动(`startup`)和关闭(`shutdown`)的事件。
    
    /// info | 说明
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. docs/es/docs/advanced/sub-applications.md

    Cuando montas una sub-aplicación como se describe arriba, FastAPI se encargará de comunicar el path de montaje para la sub-aplicación usando un mecanismo de la especificación ASGI llamado `root_path`.
    
    De esa manera, la sub-aplicación sabrá usar ese prefijo de path para la interfaz de documentación.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top