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.