class ByteStream(AsyncByteStream, SyncByteStream):
Undocumented
Async Method | __aiter__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __iter__ |
Undocumented |
Instance Variable | _stream |
Undocumented |
Inherited from AsyncByteStream
:
Async Method | aclose |
Undocumented |
Async Method | aread |
Undocumented |
Inherited from SyncByteStream
:
Method | close |
Subclasses can override this method to release any network resources after a request/response cycle is complete. |
Method | read |
Simple cases can use .read() as a convenience method for consuming the entire stream and then closing it. |
httpx.AsyncByteStream.__aiter__
Undocumented
Returns | |
AsyncIterator[ | Undocumented |
httpx.SyncByteStream.__iter__
Undocumented
Returns | |
Iterator[ | Undocumented |