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.