SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

BinaryData Event

Passes a received chunk of binary data to the application.

Syntax

websocketclient.on('BinaryData', [callback])

Callback

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

function(e){ }

The argument 'e' has the following properties:

e.buffer (buffer)
e.last

Remarks

The class fires this event repeatedly to pass incoming pieces of binary 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 Node.js Edition - Version 20.0 [Build 8165]