(self, connection: Connection)
| 321 | return self._data(self.context.server) |
| 322 | |
| 323 | def _data(self, connection: Connection): |
| 324 | data = ( |
| 325 | e.data |
| 326 | for e in self.events |
| 327 | if isinstance(e, mevents.DataReceived) and e.connection == connection |
| 328 | ) |
| 329 | return b"".join(data) |
| 330 | |
| 331 | |
| 332 | @dataclass |
no test coverage detected