Open toJuanito opened 3 years ago
Perhaps I've not correctly understood the question...
with this following code, I connect with mqttServer="xxx.azurewebsites.net"
on port 443... (wss)
WiFiClientSecure wifiClient;
WebSocketClient wsClient(wifiClient, mqttServer, 443);
WebSocketStreamClient wsStreamClient(wsClient, mqttPath);
PubSubClient MQTTClient(wsStreamClient);
you should have a look to https://github.com/clysss/WebSocketStreamClient and https://github.com/arduino-libraries/ArduinoHttpClient/pull/124
Hi, is it possible to communicate through wss protocol? It works fine for me with ws.
Thanks in advance..