Read all data until EOF; block until connection closed.
(self)
| 332 | return self.read_very_lazy() |
| 333 | |
| 334 | def read_all(self): |
| 335 | """Read all data until EOF; block until connection closed.""" |
| 336 | self.process_rawq() |
| 337 | while not self.eof: |
| 338 | self.fill_rawq() |
| 339 | self.process_rawq() |
| 340 | buf = self.cookedq |
| 341 | self.cookedq = b'' |
| 342 | return buf |
| 343 | |
| 344 | def read_some(self): |
| 345 | """Read at least one byte of cooked data unless EOF is hit. |
nothing calls this directly
no test coverage detected