on_data Event
Supplies a data chunk received from a client.
Syntax
class TLSServerDataEventParams(object): @property def connection_id() -> int: ... @property def buffer() -> bytes: ... # In class TLSServer: @property def on_data() -> Callable[[TLSServerDataEventParams], None]: ... @on_data.setter def on_data(event_hook: Callable[[TLSServerDataEventParams], None]) -> None: ...
Remarks
This event is fired to supply another piece of data received from a client. This event may fire multiple times.