I need to set an http header on the target (southbound) request.
Is there a callback event when the target request is about to occur?
I've been able to add the headers to the request, but this seems a little indirect.
Solved! Go to Solution.
The only callbacks are in the documentation here.
To set the target dynamically, you can use the following variables:
req.targetHostname = xx; req.targetPort = xx; req.targetPath = xx;