Using NodeJS to "eavesdrop" on Microgateway messages
I have a Microgateway set-up and I'm trying to eavesdrop/ audit messages using NodeJS but I'm encountering some apparent limitations with the API.
How is it possible for me to access HTTP Content-Type, Content-Encoding, Accept-Encoding headers using NodeJS?
It's common for REST payload to be encoded using gzip, br, etc but I'm not able to tell without having access to those headers.
I note that .NET API doesn't have this issue as the Message exposes the following properties:message.HttpContentEncoding & message.HttpContentType