Add support for Proxy configurations when using Websockets in both AMQP and MQTT.
The confguration is done in a similar way to the Node-RED core httprequest node, and the implementation is carried out adding an HttpsProxyAgent as the webSocketAgent for both amqpWs and mqttWs. For that, the module hpagent is added to the package.json.
Add support for Proxy configurations when using Websockets in both AMQP and MQTT.
The confguration is done in a similar way to the Node-RED core
httprequest
node, and the implementation is carried out adding anHttpsProxyAgent
as thewebSocketAgent
for bothamqpWs
andmqttWs
. For that, the modulehpagent
is added to thepackage.json
.