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