Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions Dependencies/WebSocket.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import org.java_websocket.client.WebSocketClient;
import org.java_websocket.handshake.ServerHandshake;
import org.java_websocket.framing.CloseFrame;
import java.net.URI;
import java.net.URISyntaxException;

Expand All @@ -25,12 +24,6 @@ public void onMessage(String message)
@Override
public void onClose(int code, String reason, boolean remote)
{
// For all other close frames, we need to trigger the error callback
if (code != CloseFrame.NORMAL && code != CloseFrame.ABNORMAL_CLOSE && code != CloseFrame.NEVER_CONNECTED)
{
this.errorCallback(reason);
}

this.closeCallback(code, reason);
}

Expand Down