SecureBlackbox 2020 Python Edition

Questions / Feedback?

on_text_data Event

Passes a received chunk of text data to the application.

Syntax

class WebSocketClientTextDataEventParams(object):
  @property
  def text() -> str: ...
  @property
  def last() -> bool: ...

# In class WebSocketClient:
@property
def on_text_data() -> Callable[[WebSocketClientTextDataEventParams], None]: ...
@on_text_data.setter
def on_text_data(event_hook: Callable[[WebSocketClientTextDataEventParams], None]) -> None: ...

Remarks

The class fires this event repeatedly to pass incoming pieces of text data to the application. The Last parameter indicates that this is the last chunk.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Python Edition - Version 20.0 [Build 8154]