Skip to content

Commit

Permalink
[netty#5759] Allow websocket extensions in websocketx example.
Browse files Browse the repository at this point in the history
Motivation:

As we use compression in the websocketx example we need to allow extensions as ohterwise the example not works.

Modifications:

Allow extensions.

Result:

websocketx example does work.
  • Loading branch information
normanmaurer committed Sep 7, 2016
1 parent 6bbf321 commit 05fb698
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public static void main(String[] args) throws Exception {
final WebSocketClientHandler handler =
new WebSocketClientHandler(
WebSocketClientHandshakerFactory.newHandshaker(
uri, WebSocketVersion.V13, null, false, new DefaultHttpHeaders()));
uri, WebSocketVersion.V13, null, true, new DefaultHttpHeaders()));

Bootstrap b = new Bootstrap();
b.group(group)
Expand Down

0 comments on commit 05fb698

Please sign in to comment.