Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 453 for starlette (0.13 seconds)

  1. docs/ko/docs/features.md

    * 프로덕션 애플리케이션에서 사용됩니다.
    
    ## Starlette 기능 { #starlette-features }
    
    **FastAPI**는 [**Starlette**](https://www.starlette.dev/)와 완전히 호환되며(또한 이를 기반으로 합니다). 따라서 추가로 가지고 있는 Starlette 코드도 모두 동작합니다.
    
    `FastAPI`는 실제로 `Starlette`의 하위 클래스입니다. 그래서 Starlette을 이미 알고 있거나 사용하고 있다면, 대부분의 기능이 같은 방식으로 동작할 것입니다.
    
    **FastAPI**를 사용하면 **Starlette**의 모든 기능을 얻게 됩니다(FastAPI는 Starlette에 강력한 기능을 더한 것입니다):
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/alternatives.md

    處理所有核心網頁部分,並在其上加上功能。
    
    `FastAPI` 這個類別本身直接繼承自 `Starlette` 類別。
    
    因此,凡是你能用 Starlette 做的事,你都能直接用 **FastAPI** 完成,因為它基本上就是加強版的 Starlette。
    
    ///
    
    ### [Uvicorn](https://www.uvicorn.dev/) { #uvicorn }
    
    Uvicorn 是基於 uvloop 與 httptools 的極速 ASGI 伺服器。
    
    它不是網頁框架,而是伺服器。例如,它不提供依據路徑路由的工具。這是像 Starlette(或 **FastAPI**)這樣的框架在其上方提供的功能。
    
    它是 Starlette 與 **FastAPI** 推薦使用的伺服器。
    
    /// check | **FastAPI** 建議用作
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 20K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/using-request-directly.md

    You can read more details about the [`Request` object in the official Starlette documentation site](https://www.starlette.dev/requests/).
    
    /// note | Technical Details
    
    You could also use `from starlette.requests import Request`.
    
    **FastAPI** provides it directly just as a convenience for you, the developer. But it comes directly from Starlette.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  4. docs/en/docs/advanced/response-cookies.md

    ### More info { #more-info }
    
    /// note | Technical Details
    
    You could also use `from starlette.responses import Response` or `from starlette.responses import JSONResponse`.
    
    **FastAPI** provides the same `starlette.responses` as `fastapi.responses` just as a convenience for you, the developer. But most of the available responses come directly from Starlette.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  5. docs/ja/docs/advanced/middleware.md

    このセクションでは、その他のミドルウェアの使い方を見ていきます。
    
    ## ASGI ミドルウェアの追加 { #adding-asgi-middlewares }
    
    **FastAPI** は Starlette を基盤としており、<abbr title="Asynchronous Server Gateway Interface - 非同期サーバーゲートウェイインターフェース">ASGI</abbr> 仕様を実装しているため、任意の ASGI ミドルウェアを利用できます。
    
    ミドルウェアは ASGI 仕様に従っていれば、FastAPI や Starlette 専用に作られていなくても動作します。
    
    一般に、ASGI ミドルウェアは最初の引数として ASGI アプリを受け取るクラスです。
    
    そのため、サードパーティの ASGI ミドルウェアのドキュメントでは、おそらく次のように書かれているでしょう:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  6. docs/en/docs/alternatives.md

    **FastAPI** then takes that JSON Schema data and puts it in OpenAPI, apart from all the other things it does.
    
    ///
    
    ### [Starlette](https://www.starlette.dev/) { #starlette }
    
    Starlette is a lightweight <dfn title="The new standard for building asynchronous Python web applications">ASGI</dfn> framework/toolkit, which is ideal for building high-performance asyncio services.
    
    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)
  7. docs/en/docs/tutorial/static-files.md

    {* ../../docs_src/static_files/tutorial001_py310.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" { #what-is-mounting }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/response-headers.md

    /// note | Technical Details
    
    You could also use `from starlette.responses import Response` or `from starlette.responses import JSONResponse`.
    
    **FastAPI** provides the same `starlette.responses` as `fastapi.responses` just as a convenience for you, the developer. But most of the available responses come directly from Starlette.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  9. docs/zh/docs/deployment/versions.md

    你应该为你的应用程序添加测试。
    
    使用 **FastAPI** 编写测试非常简单(感谢 Starlette),请参考文档:[测试](../tutorial/testing.md)
    
    添加测试后,你可以将 **FastAPI** 版本升级到更新版本,并通过运行测试来确保所有代码都能正常工作。
    
    如果一切正常,或者在进行必要的更改之后,并且所有测试都通过了,那么你可以将`fastapi`固定到新的版本。
    
    ## 关于Starlette { #about-starlette }
    
    你不应该固定`starlette`的版本。
    
    不同版本的 **FastAPI** 将使用特定的较新版本的 Starlette。
    
    因此,**FastAPI** 自己可以使用正确的 Starlette 版本。
    
    ## 关于 Pydantic { #about-pydantic }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  10. 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)
Back to Top