class documentation

class MultipartStream(SyncByteStream, AsyncByteStream):

View In Hierarchy

Request content as streaming multipart encoded form data.
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
async def __aiter__(self):

Undocumented

Returns
typing.AsyncIterator[bytes]Undocumented
def __init__(self, data, files, boundary=None):

Undocumented

Parameters
data:dictUndocumented
files:RequestFilesUndocumented
boundary:bytesUndocumented
def __iter__(self):

Undocumented

Returns
typing.Iterator[bytes]Undocumented
def get_content_length(self):

Undocumented

Returns
intUndocumented
def get_headers(self):

Undocumented

Returns
typing.Dict[str, str]Undocumented
def iter_chunks(self):

Undocumented

Returns
typing.Iterator[bytes]Undocumented
def iter_chunks_lengths(self):

Undocumented

Returns
typing.Iterator[int]Undocumented
boundary =

Undocumented

content_type =

Undocumented

fields =

Undocumented

def _iter_fields(self, data, files):

Undocumented

Parameters
data:dictUndocumented
files:RequestFilesUndocumented
Returns
typing.Iterator[typing.Union[FileField, DataField]]Undocumented