Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 337 for starlette (0.08 sec)

  1. docs/zh/docs/advanced/testing-websockets.md

    为此,要在 `with` 语句中使用 `TestClient` 连接 WebSocket。
    
    ```Python hl_lines="27-31"
    {!../../docs_src/app_testing/tutorial002.py!}
    ```
    
    /// note | "笔记"
    
    更多细节详见 <a href="https://www.starlette.io/testclient/#testing-websocket-sessions" class="external-link" target="_blank">Starlette 官档 - 测试 WebSockets</a>。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 418 bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/background-tasks.md

    ## Технические детали
    
    Класс `BackgroundTasks` основан на <a href="https://www.starlette.io/background/" class="external-link" target="_blank">`starlette.background`</a>.
    
    Он интегрирован в FastAPI, так что вы можете импортировать его прямо из `fastapi` и избежать случайного импорта `BackgroundTask` (без `s` на конце) из `starlette.background`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. docs/de/docs/deployment/versions.md

    ## Über Starlette
    
    Sie sollten die Version von `starlette` nicht pinnen.
    
    Verschiedene Versionen von **FastAPI** verwenden eine bestimmte neuere Version von Starlette.
    
    Sie können **FastAPI** also einfach die korrekte Starlette-Version verwenden lassen.
    
    ## Über Pydantic
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/testing-websockets.md

    ```Python hl_lines="27-31"
    {!../../docs_src/app_testing/tutorial002.py!}
    ```
    
    /// note | "Hinweis"
    
    Weitere Informationen finden Sie in der Starlette-Dokumentation zum <a href="https://www.starlette.io/testclient/#testing-websocket-sessions" class="external-link" target="_blank">Testen von WebSockets</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 523 bytes
    - Viewed (0)
  5. docs/de/docs/alternatives.md

    **FastAPI** nimmt dann, abgesehen von all den anderen Dingen, die es tut, dieses JSON-Schema und fügt es in OpenAPI ein.
    
    ///
    
    ### <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
    - 26.7K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/request-files.md

    /// note | "Detalhes Técnicos"
    
    Você pode também pode usar `from starlette.responses import HTMLResponse`.
    
    **FastAPI** providencia o mesmo `starlette.responses` que `fastapi.responses` apenas como uma conveniência para você, o desenvolvedor. Mas a maioria das respostas disponíveis vem diretamente do Starlette.
    
    ///
    
    ### Uploads de Múltiplos Arquivos com Metadados Adicionais
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 30 19:52:32 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. docs/zh/docs/advanced/websockets.md

    如果您需要与 FastAPI 集成更简单但更强大的功能,支持 Redis、PostgreSQL 或其他功能,请查看 [encode/broadcaster](https://github.com/encode/broadcaster)。
    
    ///
    
    ## 更多信息
    
    要了解更多选项,请查看 Starlette 的文档:
    
    * [WebSocket 类](https://www.starlette.io/websockets/)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. docs/zh/docs/advanced/middleware.md

    以及如何[使用 `CORSMiddleware` 处理 CORS](../tutorial/cors.md){.internal-link target=_blank}。
    
    本章学习如何使用其它中间件。
    
    ## 添加 ASGI 中间件
    
    因为 **FastAPI** 基于 Starlette,且执行 <abbr title="Asynchronous Server Gateway Interface,异步服务器网关界面">ASGI</abbr> 规范,所以可以使用任意 ASGI 中间件。
    
    中间件不必是专为 FastAPI 或 Starlette 定制的,只要遵循 ASGI 规范即可。
    
    总之,ASGI 中间件是类,并把 ASGI 应用作为第一个参数。
    
    因此,有些第三方 ASGI 中间件的文档推荐以如下方式使用中间件:
    
    ```Python
    from unicorn import UnicornMiddleware
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. docs/pt/docs/deployment/versions.md

    ## Sobre Starlette
    
    Não é recomendado fixar a versão de `starlette`.
    
    Versões diferentes de **FastAPI** utilizarão uma versão específica e mais recente de Starlette.
    
    Então, você pode deixar **FastAPI** escolher a versão compatível e correta de Starlette.
    
    ## Sobre Pydantic
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. docs/fr/docs/deployment/versions.md

    épingler votre version de `fastapi` à cette nouvelle version récente.
    
    ## À propos de Starlette
    
    Vous ne devriez pas épingler la version de `starlette`.
    
    Différentes versions de **FastAPI** utiliseront une version spécifique plus récente de Starlette.
    
    Ainsi, vous pouvez simplement laisser **FastAPI** utiliser la bonne version de Starlette.
    
    ## À propos de Pydantic
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top