iotblackbelt / node-red-contrib-azure-iot-device

Azure IoT Device node for Node-Red
MIT License
21 stars 18 forks source link

Added support for Proxy in WS #33

Open kurago-dev opened 1 year ago

kurago-dev commented 1 year ago

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.