sendingRequestHandler = function (webresource) {
  webresource.withHeader('x-ms-custom-header', 'value');
  console.log(' sending request event handler called');
}
Demonstrates how to define sendingrequest and receivedresponse event handlers.