fix WebSocketClientSocketIO example

This commit is contained in:
Markus
2016-10-22 20:36:36 +02:00
committed by GitHub
parent 1defe6d8e1
commit 0d9aa043f0

View File

@ -86,7 +86,7 @@ void setup() {
delay(100); delay(100);
} }
webSocket.begin("192.168.0.123", 81); webSocket.beginSocketIO("192.168.0.123", 81);
//webSocket.setAuthorization("user", "Password"); // HTTP Basic Authorization //webSocket.setAuthorization("user", "Password"); // HTTP Basic Authorization
webSocket.onEvent(webSocketEvent); webSocket.onEvent(webSocketEvent);