Remote has sent some data.
| 44 | |
| 45 | @dataclass |
| 46 | class DataReceived(ConnectionEvent): |
| 47 | """ |
| 48 | Remote has sent some data. |
| 49 | """ |
| 50 | |
| 51 | data: bytes |
| 52 | |
| 53 | def __repr__(self): |
| 54 | target = type(self.connection).__name__.lower() |
| 55 | return f"DataReceived({target}, {self.data!r})" |
| 56 | |
| 57 | |
| 58 | class ConnectionClosed(ConnectionEvent): |
no outgoing calls
searching dependent graphs…