AsyncBinaryAPIResponse(
self,
*,
raw: httpx.Response,
cast_to: type[R],
client: BaseClientRead and decode the JSON response content.
The number of retries made. If no retries happened this will be 0
Returns the httpx Request instance associated with the current response.
Returns the URL for which the request was made.
The time taken for the complete request/response cycle to complete.
Whether or not the response body has been closed.
Subclass of APIResponse providing helpers for dealing with binary data.
Note: If you want to stream the response data instead of eagerly reading it
all at once then you should use .with_streaming_response when making
the API request, e.g. .with_streaming_response.get_binary_response()