mashupbots / socko

A Scala web server powered by Netty networking and AKKA processing.
Other
255 stars 51 forks source link

Add WebSocket Compression #115

Open alexcole opened 7 years ago

alexcole commented 7 years ago

This adds the WebSocketServerCompressionHandler so that socko will negotiate compression with clients that support it.

To do this I upgraded to the current stable branch of netty because compression support only came out in 4.1.0. I also add to switch to allowing WebSocket extensions in the WebSocketServerHandshakerFactory because compression uses those.

alexcole commented 7 years ago

cc @daveey