Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for ASGI (0.02 sec)

  1. docs/en/docs/advanced/middleware.md

    ## Adding ASGI middlewares { #adding-asgi-middlewares }
    
    As **FastAPI** is based on Starlette and implements the <abbr title="Asynchronous Server Gateway Interface">ASGI</abbr> specification, you can use any ASGI middleware.
    
    A middleware doesn't have to be made for FastAPI or Starlette to work, as long as it follows the ASGI spec.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:59:07 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. docs/en/docs/deployment/manually.md

    ## ASGI Servers { #asgi-servers }
    
    Let's go a little deeper into the details.
    
    FastAPI uses a standard for building Python web frameworks and servers called <abbr title="Asynchronous Server Gateway Interface">ASGI</abbr>. FastAPI is an ASGI web framework.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/graphql.md

    * <a href="https://tartiflette.io/" class="external-link" target="_blank">Tartiflette</a>
        * With <a href="https://tartiflette.github.io/tartiflette-asgi/" class="external-link" target="_blank">Tartiflette ASGI</a> to provide ASGI integration
    * <a href="https://graphene-python.org/" class="external-link" target="_blank">Graphene</a>
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/async-tests.md

    /// warning
    
    If your application relies on lifespan events, the `AsyncClient` won't trigger these events. To ensure they are triggered, use `LifespanManager` from <a href="https://github.com/florimondmanca/asgi-lifespan#usage" class="external-link" target="_blank">florimondmanca/asgi-lifespan</a>.
    
    ///
    
    ## Other Asynchronous Function Calls { #other-asynchronous-function-calls }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. 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`.
    
    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. docs/en/docs/advanced/events.md

    ## Technical Details { #technical-details }
    
    Just a technical detail for the curious nerds. πŸ€“
    
    Underneath, in the ASGI technical specification, this is part of the <a href="https://asgi.readthedocs.io/en/latest/specs/lifespan.html" class="external-link" target="_blank">Lifespan Protocol</a>, and it defines events called `startup` and `shutdown`.
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. 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).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 16K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/sub-applications.md

    ### Technical Details: `root_path` { #technical-details-root-path }
    
    When you mount a sub-application as described above, FastAPI will take care of communicating the mount path for the sub-application using a mechanism from the ASGI specification called a `root_path`.
    
    That way, the sub-application will know to use that path prefix for the docs UI.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:33:53 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/custom-request-and-route.md

    A `Request` also has a `request.receive`, that's a function to "receive" the body of the request.
    
    The `scope` `dict` and `receive` function are both part of the ASGI specification.
    
    And those two things, `scope` and `receive`, are what is needed to create a new `Request` instance.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top