Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 376 for Starlettes (0.14 seconds)

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

    WebSocket をテストするのにも同じ `TestClient` を使用できます。
    
    そのために、`with` 文の中で `TestClient` を使用し、WebSocket に接続します:
    
    {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *}
    
    /// note | 備考
    
    詳細については、Starlette のドキュメント「[WebSocket のテスト](https://www.starlette.dev/testclient/#testing-websocket-sessions)」を参照してください。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 501 bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/request-files.md

    {* ../../docs_src/request_files/tutorial002_an_py310.py hl[10,15] *}
    
    接收的也是含 `bytes` 或 `UploadFile` 的列表(`list`)。
    
    /// note | 技术细节
    
    也可以使用 `from starlette.responses import HTMLResponse`。
    
    `fastapi.responses` 其实与 `starlette.responses` 相同,只是为了方便开发者调用。实际上,大多数 **FastAPI** 的响应都直接从 Starlette 调用。
    
    ///
    
    ### 带有额外元数据的多文件上传 { #multiple-file-uploads-with-additional-metadata }
    
    和之前的方式一样,你可以为 `File()` 设置额外参数,即使是 `UploadFile`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  3. docs/uk/docs/advanced/response-directly.md

    /// note | Технічні деталі
    
    Ви також можете використати `from starlette.responses import JSONResponse`.
    
    **FastAPI** надає ті самі `starlette.responses` як `fastapi.responses` просто як зручність для вас, розробника. Але більшість доступних відповідей походять безпосередньо зі Starlette.
    
    ///
    
    ## Повернення власного `Response` { #returning-a-custom-response }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  4. docs/tr/docs/advanced/websockets.md

    ///
    
    ## Daha Fazla Bilgi { #more-info }
    
    Seçenekler hakkında daha fazlasını öğrenmek için Starlette dokümantasyonunda şunlara bakın:
    
    * [`WebSocket` class'ı](https://www.starlette.dev/websockets/).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  5. docs/ru/docs/tutorial/request-files.md

    /// note | Технические детали
    
    Можно также использовать `from starlette.responses import HTMLResponse`.
    
    **FastAPI** предоставляет тот же `starlette.responses`, что и `fastapi.responses`, просто для удобства разработчика. Однако большинство доступных ответов поступает непосредственно из Starlette.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  6. docs/es/docs/advanced/testing-events.md

    {* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *}
    
    
    Puedes leer más detalles sobre ["Ejecutar lifespan en tests en el sitio oficial de documentación de Starlette."](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)
    
    Para los eventos obsoletos `startup` y `shutdown`, puedes usar el `TestClient` así:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 634 bytes
    - Click Count (0)
  7. docs/ru/docs/advanced/testing-events.md

    {* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *}
    
    
    Вы можете узнать больше подробностей в статье [Запуск lifespan в тестах на официальном сайте документации Starlette.](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)
    
    Для устаревших событий `startup` и `shutdown` вы можете использовать `TestClient` следующим образом:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 19:57:34 GMT 2026
    - 904 bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/middleware.md

    但如果你有自訂標頭並希望瀏覽器端的用戶端能看到它們,你需要在 CORS 設定([CORS(跨來源資源共用)](cors.md))中使用 [Starlette 的 CORS 文件](https://www.starlette.dev/middleware/#corsmiddleware)所記載的參數 `expose_headers` 將它們加入。
    
    ///
    
    /// note | 技術細節
    
    你也可以使用 `from starlette.requests import Request`。
    
    **FastAPI** 為了方便開發者而提供了它,但實際上它直接來自 Starlette。
    
    ///
    
    ### 在 `response` 之前與之後 { #before-and-after-the-response }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/request-files.md

    /// note | Technical Details
    
    You could also use `from starlette.responses import HTMLResponse`.
    
    **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.
    
    ///
    
    ### Multiple File Uploads with Additional Metadata { #multiple-file-uploads-with-additional-metadata }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/request-files.md

    /// note | Detalhes Técnicos
    
    Você 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.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.8K bytes
    - Click Count (0)
Back to Top