- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 191 for osgi (0.02 seconds)
-
docs/tr/docs/benchmarks.md
Aracın çözdüğü problem ne kadar basitse, elde edeceği performans o kadar iyi olur. Ayrıca kıyaslamaların çoğu, aracın sağladığı ek özellikleri test etmez. Hiyerarşi şöyledir: * **Uvicorn**: bir ASGI sunucusu * **Starlette**: (Uvicorn'u kullanır) bir web mikroframework'ü * **FastAPI**: (Starlette'i kullanır) veri doğrulama vb. ile API'lar oluşturmak için çeşitli ek özelliklere sahip bir API mikroframework'üCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 4K bytes - Click Count (0) -
docs/zh/docs/advanced/events.md
启动和关闭的逻辑很可能是连接在一起的,你可能希望启动某个东西然后结束它,获取一个资源然后释放它等等。 在不共享逻辑或变量的不同函数中处理这些逻辑比较困难,因为你需要在全局变量中存储值或使用类似的方式。 因此,推荐使用上面所述的 `lifespan`。 ## 技术细节 { #technical-details } 只是为好奇者提供的技术细节。🤓 在底层,这部分是 ASGI 技术规范中的 [Lifespan 协议](https://asgi.readthedocs.io/en/latest/specs/lifespan.html)的一部分,定义了称为 `startup` 和 `shutdown` 的事件。 /// info | 信息 你可以在 [Starlette 的 Lifespan 文档](https://www.starlette.dev/lifespan/) 中阅读更多关于 `lifespan` 处理器的内容。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 7.2K bytes - Click Count (0) -
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.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 18K bytes - Click Count (0) -
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) -
docs/ko/docs/advanced/events.md
그 때문에, 이제는 위에서 설명한 대로 `lifespan`을 사용하는 것이 권장됩니다. ## 기술적 세부사항 { #technical-details } 호기심 많은 분들을 위한 기술적인 세부사항입니다. 🤓 내부적으로 ASGI 기술 사양에서는 이것이 [Lifespan Protocol](https://asgi.readthedocs.io/en/latest/specs/lifespan.html)의 일부이며, `startup`과 `shutdown`이라는 이벤트를 정의합니다. /// info | 정보Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 9.1K bytes - Click Count (0) -
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) -
docs/pt/docs/how-to/custom-request-and-route.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 4.9K bytes - Click Count (0) -
docs/de/docs/benchmarks.md
Die Hierarchie ist wie folgt: * **Uvicorn**: ein ASGI-Server * **Starlette**: (verwendet Uvicorn) ein Web-Mikroframework * **FastAPI**: (verwendet Starlette) ein API-Mikroframework mit mehreren zusätzlichen Funktionen zum Erstellen von APIs, mit Datenvalidierung, usw.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 4K bytes - Click Count (0) -
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. To learn more about the `Request` check [Starlette's docs about Requests](https://www.starlette.dev/requests/).
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.4K bytes - Click Count (0) -
docs/ru/docs/how-to/custom-request-and-route.md
У `Request` также есть `request.receive` — функция для «получения» тела запроса. И `dict` `scope`, и функция `receive` являются частью спецификации ASGI. Именно этих двух компонентов — `scope` и `receive` — достаточно, чтобы создать новый экземпляр `Request`. Чтобы узнать больше о `Request`, см. [документацию Starlette о запросах](https://www.starlette.dev/requests/).
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 7.1K bytes - Click Count (0)