- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 46 for hypercorn (0.2 sec)
-
docs/de/docs/deployment/manually.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:16:35 GMT 2024 - 5.4K bytes - Viewed (0) -
docs/ru/docs/deployment/manually.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Apr 03 16:22:47 GMT 2024 - 7.8K bytes - Viewed (0) -
docs/zh/docs/deployment/manually.md
但如果你想直接使用**Trio**,那么你可以使用**Hypercorn**,因为它支持它。 ✨ ### 安装具有 Trio 的 Hypercorn 首先,您需要安装具有 Trio 支持的 Hypercorn: <div class="termy"> ```console $ pip install "hypercorn[trio]" ---> 100% ``` </div> ### Run with Trio 然后你可以传递值`trio`给命令行选项`--worker-class`: <div class="termy"> ```console $ hypercorn main:app --worker-class trio ``` </div>
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 09 15:39:41 GMT 2024 - 4.6K bytes - Viewed (0) -
docs/en/docs/deployment/manually.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 9.2K bytes - Viewed (0) -
docs/zh/docs/advanced/behind-a-proxy.md
<div class="termy"> ```console $ uvicorn main:app --root-path /api/v1 <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div> Hypercorn 也支持 `--root-path `选项。 !!! note "技术细节" ASGI 规范定义的 `root_path` 就是为了这种用例。 并且 `--root-path` 命令行选项支持 `root_path`。 ### 查看当前的 `root_path` 获取应用为每个请求使用的当前 `root_path`,这是 `scope` 字典的内容(也是 ASGI 规范的内容)。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.4K bytes - Viewed (0) -
docs/de/docs/benchmarks.md
* Wenn Sie Uvicorn vergleichen, vergleichen Sie es mit Anwendungsservern wie Daphne, Hypercorn, uWSGI, usw. * **Starlette**: * Wird nach Uvicorn die nächstbeste Performanz erbringen. Tatsächlich nutzt Starlette intern Uvicorn. Daher kann es wahrscheinlich nur „langsamer“ als Uvicorn sein, weil mehr Code ausgeführt wird.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 23 16:04:13 GMT 2024 - 3.9K bytes - Viewed (0) -
docs/es/docs/benchmarks.md
* Si estás comparando Uvicorn, compáralo con los servidores de aplicaciones Daphne, Hypercorn, uWSGI, etc. * **Starlette**:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Feb 07 11:39:50 GMT 2024 - 3.9K bytes - Viewed (0) -
docs/en/docs/benchmarks.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 3.4K bytes - Viewed (0) -
docs/ur/docs/benchmarks.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Aug 05 08:24:21 GMT 2023 - 6.7K bytes - Viewed (0) -
docs/zh-hant/docs/benchmarks.md
的多個附加功能、資料驗證等。 L20: L21:* **Uvicorn**: L22: * 具有最佳效能,因為除了伺服器本身之外,它沒有太多額外的程式碼。 L23: * 你不會直接在 Uvicorn 中編寫應用程式。這意味著你的程式碼必須或多或少地包含 Starlette(或 **FastAPI**)提供的所有程式碼。如果你這樣做,你的最終應用程式將具有與使用框架相同的開銷並最大限度地減少應用程式程式碼和錯誤。 L24: * 如果你要比較 Uvicorn,請將其與 Daphne、Hypercorn、uWSGI 等應用程式伺服器進行比較。 L25:* **Starlette**: L26: * 繼 Uvicorn 之後的次佳表現。事實上,Starlette 使用 Uvicorn 來運行。因此它將可能只透過執行更多程式碼而變得比 Uvicorn「慢」。 L27: * 但它為你提供了建立簡單網頁應用程式的工具,以及基於路徑的路由等。 L28: * 如果你要比較 Starlette,請將其與 Sanic、Flask、Django 等網頁框架(或微框架)進行比較。 ...
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 27 14:30:56 GMT 2024 - 3.3K bytes - Viewed (0)