File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 44import org .java_websocket .client .WebSocketClient ;
55import org .java_websocket .drafts .Draft ;
66import org .java_websocket .drafts .Draft_10 ;
7+ import org .java_websocket .drafts .Draft_17 ;
78import org .java_websocket .framing .Framedata ;
89import org .java_websocket .handshake .ServerHandshake ;
910
@@ -47,7 +48,7 @@ public void onError( Exception ex ) {
4748 }
4849
4950 public static void main ( String [] args ) throws URISyntaxException {
50- ExampleClient c = new ExampleClient ( new URI ( "ws://localhost:8887" ), new Draft_10 () ); // more about drafts here: http://github.com/TooTallNate/Java-WebSocket/wiki/Drafts
51+ ExampleClient c = new ExampleClient ( new URI ( "ws://localhost:8887" ), new Draft_17 () ); // more about drafts here: http://github.com/TooTallNate/Java-WebSocket/wiki/Drafts
5152 c .connect ();
5253 }
5354
You can’t perform that action at this time.
0 commit comments