Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 23 of 23 for StreamingResponse (0.1 seconds)

  1. docs/ja/docs/advanced/custom-response.md

    {* ../../docs_src/custom_response/tutorial006.py hl[2,9] *}
    
    ### `StreamingResponse`
    
    非同期なジェネレータか通常のジェネレータ・イテレータを受け取り、レスポンスボディをストリームします。
    
    {* ../../docs_src/custom_response/tutorial007.py hl[2,14] *}
    
    #### `StreamingResponse` をファイルライクなオブジェクトとともに使う
    
    ファイルライクなオブジェクト (例えば、 `open()` で返されたオブジェクト) がある場合、 `StreamingResponse` に含めて返すことができます。
    
    これにはクラウドストレージとの連携や映像処理など、多くのライブラリが含まれています。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 10.4K bytes
    - Click Count (0)
  2. docs/ko/docs/advanced/custom-response.md

    ### `StreamingResponse`
    
    비동기 제너레이터 또는 일반 제너레이터/이터레이터를 받아 응답 본문을 스트리밍 합니다.
    
    {* ../../docs_src/custom_response/tutorial007.py hl[2,14] *}
    
    #### 파일과 같은 객체를 사용한 `StreamingResponse`
    
    파일과 같은 객체(예: `open()`으로 반환된 객체)가 있는 경우, 해당 파일과 같은 객체를 반복(iterate)하는 제너레이터 함수를 만들 수 있습니다.
    
    이 방식으로, 파일 전체를 메모리에 먼저 읽어들일 필요 없이, 제너레이터 함수를 `StreamingResponse`에 전달하여 반환할 수 있습니다.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Feb 15 11:21:20 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  3. docs/en/docs/release-notes.md

    This change also meant that if you returned a `StreamingResponse`, the exit code of the dependency with `yield` would have been already run.
    
    For example, if you had a database session in a dependency with `yield`, the `StreamingResponse` would not be able to use that session while streaming data because the session would have already been closed in the exit code after `yield`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:06:15 GMT 2025
    - 586.7K bytes
    - Click Count (0)
Back to Top