We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, is it possible to communicate through wss protocol? It works fine for me with ws.
#include <ArduinoJson.h> #include <HttpClient.h> #include <SoftwareSerial.h> #include <Ethernet.h> #include <WebSocketClient.h> EthernetClient ethernet; #include <ArduinoHttpClient.h> byte mac[] = {0x00, 0xAA, 0xBB, 0xCC, 0xDE, 0x02}; char serverAddress[] = "wss://192.168.1.87"; //I dont know if it is possible, seems like not.. int port = 8010; WebSocketClient client = WebSocketClient(ethernet, serverAddress, port);
Thanks in advance..
The text was updated successfully, but these errors were encountered:
Perhaps I've not correctly understood the question... with this following code, I connect with mqttServer="xxx.azurewebsites.net" on port 443... (wss)
mqttServer="xxx.azurewebsites.net"
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 #124
Sorry, something went wrong.
No branches or pull requests
Hi, is it possible to communicate through wss protocol?
It works fine for me with ws.
Thanks in advance..
The text was updated successfully, but these errors were encountered: