SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

WriteOption Event

Fires when the client sends in a write option request.

Syntax

dcauthwebserver.on('WriteOption', [callback])

Callback

The 'callback' is called when the 'WriteOption' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.connectionId
e.name
e.value

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 Node.js Edition - Version 20.0 [Build 8165]