SecureBlackbox Lite 2020 Node.js Edition

Questions / Feedback?

Progress Event

Fires periodically during the data transfer.

Syntax

httpclient.on('Progress', [callback])

Callback

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

function(e){ }

The argument 'e' has the following properties:

e.total
e.current
e.cancel

Remarks

Use this event to check the progress of an upload or download operation. Total indicates the total number of bytes to be transferred; Current specifies how much data has been transferred so far, and Cancel gives you a chance to cancel the operation.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox Lite 2020 Node.js Edition - Version 20.0 [Build 8166]