class MultipartStream(SyncByteStream, AsyncByteStream):
Async Method | __aiter__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __iter__ |
Undocumented |
Method | get_content_length |
Undocumented |
Method | get_headers |
Undocumented |
Method | iter_chunks |
Undocumented |
Method | iter_chunks_lengths |
Undocumented |
Instance Variable | boundary |
Undocumented |
Instance Variable | content_type |
Undocumented |
Instance Variable | fields |
Undocumented |
Method | _iter_fields |
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. |
Inherited from AsyncByteStream
:
Async Method | aclose |
Undocumented |
Async Method | aread |
Undocumented |
httpx.AsyncByteStream.__aiter__
Undocumented
Returns | |
typing.AsyncIterator[ | Undocumented |
Undocumented
Parameters | |
data:dict | Undocumented |
files:RequestFiles | Undocumented |
boundary:bytes | Undocumented |
httpx.SyncByteStream.__iter__
Undocumented
Returns | |
typing.Iterator[ | Undocumented |
Undocumented
Parameters | |
data:dict | Undocumented |
files:RequestFiles | Undocumented |
Returns | |
typing.Iterator[ | Undocumented |