We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
WebSocketClient
1 parent 4b2afeb commit 887ccc5Copy full SHA for 887ccc5
example/ChatClient.java
@@ -115,7 +115,7 @@ public void actionPerformed(ActionEvent e) {
115
connect.setEnabled(false);
116
uriField.setEditable(false);
117
try {
118
- cc = new ChatClient(new URI(uriField.getText()), area, WebSocketDraft.AUTO);
+ cc = new ChatClient(new URI(uriField.getText()), area, WebSocketDraft.DRAFT76);
119
cc.connect();
120
} catch (URISyntaxException ex) {
121
area.append(uriField.getText() + " is not a valid WebSocket URI\n");
0 commit comments