SecureBlackbox 2020 Python Edition

Questions / Feedback?

on_read_option Event

Fires when the client sends in a read option request.

Syntax

class DCAuthWebServerReadOptionEventParams(object):
  @property
  def connection_id() -> int: ...
  @property
  def name() -> str: ...
  @property
  def value() -> str: ...
  @value.setter
  def value(value) -> None: ...
  @property
  def success() -> bool: ...
  @success.setter
  def success(value) -> None: ...

# In class DCAuthWebServer:
@property
def on_read_option() -> Callable[[DCAuthWebServerReadOptionEventParams], None]: ...
@on_read_option.setter
def on_read_option(event_hook: Callable[[DCAuthWebServerReadOptionEventParams], None]) -> None: ...

Remarks

Subscribe to this event to respond to the clients' read option requests. The handler should retrieve the value of the requested option from a local configuration setting and assign it to the Value parameter.

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