SecureBlackbox 2020 Python Edition

Questions / Feedback?

on_write_option Event

Fires when the client sends in a write option request.

Syntax

class DCAuthWebServerWriteOptionEventParams(object):
  @property
  def connection_id() -> int: ...
  @property
  def name() -> str: ...
  @property
  def value() -> str: ...

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

Remarks

Subscribe to this event to respond to the clients' write option requests. The handler should save the Value of the Name option to a local configuration database.

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