class documentation
class MultipartStream(SyncByteStream, AsyncByteStream): (source)
Request content as streaming multipart encoded form data.
Async Method | __aiter__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __iter__ |
Undocumented |
Method | get |
Return the length of the multipart encoded content, or `None` if any of the files have a length that cannot be determined upfront. |
Method | get |
Undocumented |
Method | iter |
Undocumented |
Instance Variable | boundary |
Undocumented |
Instance Variable | content |
Undocumented |
Instance Variable | fields |
Undocumented |
Method | _iter |
Undocumented |
Inherited from SyncByteStream
:
Method | close |
Subclasses can override this method to release any network resources after a request/response cycle is complete. |
Inherited from AsyncByteStream
(via SyncByteStream
):
Async Method | aclose |
Undocumented |
overrides
httpx.AsyncByteStream.__aiter__
Undocumented
Returns | |
typing.AsyncIterator[ | Undocumented |
Undocumented
Parameters | |
data:RequestData | Undocumented |
files:RequestFiles | Undocumented |
boundary:typing.Optional[ | Undocumented |
Return the length of the multipart encoded content, or `None` if any of the files have a length that cannot be determined upfront.
Returns | |
typing.Optional[ | Undocumented |
Undocumented
Parameters | |
data:RequestData | Undocumented |
files:RequestFiles | Undocumented |
Returns | |
typing.Iterator[ | Undocumented |