Stream(
self,
*,
cast_to: type[_T],
response: httpx.Response,
client: Langsmith,
options:| Name | Type |
|---|---|
| cast_to | type[_T] |
| response | httpx.Response |
| client | Langsmith |
| options | Optional[FinalRequestOptions] |
Provides the core interface to iterate over a synchronous stream response.
Close the response and release the connection.
Automatically called if the response body is read to completion.