PyDocs

Nav

Networking and Interprocess Communication

StreamReader

asyncio

class (source) not WASI
  • StreamReader(limit=65536, loop=None)
Represents a reader object that provides APIs to read data from the IO stream. As an asynchronous iterable, the object supports the async for statement.
Members of StreamReader

a

at_eof
Return True if the buffer is empty and 'feed_eof' was called.

f

feed_eof
Acknowledge the EOF.

r

read
Read up to `n` bytes from the stream.
readexactly
Read exactly `n` bytes.
readline
Read chunk of data from the stream until newline (b'\n') is found.
readuntil
Read data from the stream until ``separator`` is found.
0 Examples
No examples for asyncio/StreamReader.
See Also
No see-alsos for asyncio/StreamReader
0 Notes
No notes for StreamReader