on_data_packet_in Event
Fired when receiving a data packet from the server.
Syntax
class ServerDataPacketInEventParams(object): @property def data_packet() -> bytes: ... # In class Server: @property def on_data_packet_in() -> Callable[[ServerDataPacketInEventParams], None]: ... @on_data_packet_in.setter def on_data_packet_in(event_hook: Callable[[ServerDataPacketInEventParams], None]) -> None: ...
Remarks
This event fires when a packet is received. The entire data packet (including all framing and error detection characters) is contained in the DataPacket parameter. This parameter may be inspected for advanced troubleshooting, or to extract additional response properties beyond the scope of this component.