Skip to content

Commit f1cfc65

Browse files
committed
Updated example to Draft17
TooTallNate#435
1 parent a7f88ca commit f1cfc65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/example/ExampleClient.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import org.java_websocket.client.WebSocketClient;
55
import org.java_websocket.drafts.Draft;
66
import org.java_websocket.drafts.Draft_10;
7+
import org.java_websocket.drafts.Draft_17;
78
import org.java_websocket.framing.Framedata;
89
import 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

0 commit comments

Comments
 (0)