Don't send auth token twice
This commit is contained in:
parent
6f8838c32b
commit
0a11d9ff27
@ -45,7 +45,6 @@ void ServerConnection::didDisconnect() {
|
|||||||
void ServerConnection::didConnect() {
|
void ServerConnection::didConnect() {
|
||||||
isConnecting = false;
|
isConnecting = false;
|
||||||
Serial.println("[INFO] Socket connected");
|
Serial.println("[INFO] Socket connected");
|
||||||
webSocket.sendTXT(configuration.key);
|
|
||||||
webSocket.enableHeartbeat(configuration.socketHeartbeatIntervalMs, configuration.socketHeartbeatTimeoutMs, configuration.socketHeartbeatFailureReconnectCount);
|
webSocket.enableHeartbeat(configuration.socketHeartbeatIntervalMs, configuration.socketHeartbeatTimeoutMs, configuration.socketHeartbeatFailureReconnectCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user