class documentation

class IteratorByteStream(SyncByteStream):

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method __iter__ Undocumented
Constant CHUNK​_SIZE Undocumented
Instance Variable ​_is​_generator Undocumented
Instance Variable ​_is​_stream​_consumed Undocumented
Instance Variable ​_stream 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.
def __init__(self, stream):

Undocumented

Parameters
stream:Iterable[bytes]Undocumented
def __iter__(self):

Undocumented

Returns
Iterator[bytes]Undocumented
CHUNK_SIZE: int =

Undocumented

Value
65536
_is_generator =

Undocumented

_is_stream_consumed: bool =

Undocumented

_stream =

Undocumented