SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

HeadersPrepared Event

Fires when the request headers have been formed and are about to be sent to the server.

Syntax

restclient.on('HeadersPrepared', [callback])

Callback

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

function(e){ }

The argument 'e' has the following properties:










Remarks

The prepared headers are available in RequestHeaders property. This event provides you the last chance to review/alter them.

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