on_binary_data Event
Passes a received chunk of binary data to the application.
Syntax
class WebSocketClientBinaryDataEventParams(object): @property def buffer() -> bytes: ... @property def last() -> bool: ... # In class WebSocketClient: @property def on_binary_data() -> Callable[[WebSocketClientBinaryDataEventParams], None]: ... @on_binary_data.setter def on_binary_data(event_hook: Callable[[WebSocketClientBinaryDataEventParams], None]) -> None: ...
Remarks
The class fires this event repeatedly to pass incoming pieces of binary data to the application. The Last parameter indicates that this is the last chunk.