Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 293 for starlette (0.09 sec)

  1. docs/ko/docs/benchmarks.md

    * **Starlette**:
        * Uvicorn 다음으로 좋은 성능을 발휘합니다. 사실 Starlette는 Uvicorn을 사용하여 실행됩니다. 따라서 더 많은 코드를 실행해야 하기 때문에 Uvicorn보다 "느려질" 수밖에 없습니다.
        * 하지만 경로 기반 라우팅 등 간단한 웹 응용 프로그램을 구축할 수 있는 도구를 제공합니다.
        * Starlette를 비교할 때는 Sanic, Flask, Django 등의 웹 프레임워크(또는 마이크로 프레임워크)와 비교하세요.
    * **FastAPI**:
        * Starlette가 Uvicorn을 사용하므로 Uvicorn보다 빨라질 수 없는 것과 마찬가지로, **FastAPI**는 Starlette를 사용하므로 더 빠를 수 없습니다.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:01:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/middleware.md

    ## ASGI-Middleware hinzufügen
    
    Da **FastAPI** auf Starlette basiert und die <abbr title="Asynchronous Server Gateway Interface">ASGI</abbr>-Spezifikation implementiert, können Sie jede ASGI-Middleware verwenden.
    
    Eine Middleware muss nicht speziell für FastAPI oder Starlette gemacht sein, um zu funktionieren, solange sie der ASGI-Spezifikation genügt.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/handling-errors.md

    ```
    
    /// note | "Detalhes Técnicos"
    
    Você também pode usar `from starlette.requests import Request` and `from starlette.responses import JSONResponse`.
    
    **FastAPI** disponibiliza o mesmo `starlette.responses` através do `fastapi.responses` por conveniência ao desenvolvedor. Contudo, a maior parte das respostas disponíveis vem diretamente do Starlette. O mesmo acontece com o `Request`.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. docs/de/docs/how-to/graphql.md

    ## Ältere `GraphQLApp` von Starlette
    
    Frühere Versionen von Starlette enthielten eine `GraphQLApp`-Klasse zur Integration mit <a href="https://graphene-python.org/" class="external-link" target="_blank">Graphene</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/response-headers.md

    ```Python hl_lines="10-12"
    {!../../docs_src/response_headers/tutorial001.py!}
    ```
    
    
    /// note | "技术细节"
    
    你也可以使用`from starlette.responses import Response`或`from starlette.responses import JSONResponse`。
    
    **FastAPI**提供了与`fastapi.responses`相同的`starlette.responses`,只是为了方便开发者。但是,大多数可用的响应都直接来自Starlette。
    
    由于`Response`经常用于设置头部和cookies,因此**FastAPI**还在`fastapi.Response`中提供了它。
    
    ///
    
    ## 自定义头部
    
    请注意,可以使用'X-'前缀添加自定义专有头部。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/templates.md

    ///
    
    /// note | "Technical Details"
    
    You could also use `from starlette.templating import Jinja2Templates`.
    
    **FastAPI** provides the same `starlette.templating` as `fastapi.templating` just as a convenience for you, the developer. But most of the available responses come directly from Starlette. The same with `Request` and `StaticFiles`.
    
    ///
    
    ## Writing templates
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. docs/zh/docs/advanced/templates.md

    ```
    
    /// note | "笔记"
    
    在FastAPI 0.108.0,Starlette 0.29.0之前,`name`是第一个参数。
    并且,在此之前,`request`对象是作为context的一部分以键值对的形式传递的。
    
    ///
    
    /// tip | "提示"
    
    通过声明 `response_class=HTMLResponse`,API 文档就能识别响应的对象是 HTML。
    
    ///
    
    /// note | "技术细节"
    
    您还可以使用 `from starlette.templating import Jinja2Templates`。
    
    **FastAPI** 的 `fastapi.templating` 只是为开发者提供的快捷方式。实际上,绝大多数可用响应都直接继承自 Starlette。 `Request` 与 `StaticFiles` 也一样。
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/static-files.md

    {* ../../docs_src/static_files/tutorial001.py hl[2,6] *}
    
    /// note | "Technical Details"
    
    You could also use `from starlette.staticfiles import StaticFiles`.
    
    **FastAPI** provides the same `starlette.staticfiles` as `fastapi.staticfiles` just as a convenience for you, the developer. But it actually comes directly from Starlette.
    
    ///
    
    ### What is "Mounting"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:45:40 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. docs/tr/docs/alternatives.md

    **FastAPI** yaptığı her şeyin yanı sıra bu JSON Şema verisini alıp daha sonra OpenAPI'ya yerleştiriyor.
    
    ///
    
    ### <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  10. docs/em/docs/advanced/response-headers.md

    ```Python hl_lines="10-12"
    {!../../docs_src/response_headers/tutorial001.py!}
    ```
    
    /// note | "📡 ℹ"
    
    👆 💪 ⚙️ `from starlette.responses import Response` ⚖️ `from starlette.responses import JSONResponse`.
    
    **FastAPI** 🚚 🎏 `starlette.responses` `fastapi.responses` 🏪 👆, 👩‍💻. ✋️ 🌅 💪 📨 👟 🔗 ⚪️➡️ 💃.
    
     &amp; `Response` 💪 ⚙️ 🛎 ⚒ 🎚 &amp; 🍪, **FastAPI** 🚚 ⚫️ `fastapi.Response`.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top