[#5759] Allow websocket extensions in websocketx example.

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.
This commit is contained in:
Norman Maurer 2016-09-05 15:24:50 +02:00
parent 6bbf32134a
commit 05fb698166

View File

@ -98,7 +98,7 @@ public final class WebSocketClient {
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)