Ask a question to get started
Enter to send•Shift+Enter new line
Read up to n bytes, blocking until data is available.
Returns b"" on EOF (FIN received). Raises :class:ConnectionResetError on RST.
b""
ConnectionResetError
read( self, n: int, ) -> bytes