The 4.0.0
release fixes compression support with a couple small compatibility breaks from 3.x
.
Users of 2.x
should upgrade directly to 4.0.0
.
Users of 3.x
can upgrade directly to 4.0.0
if compression is not being used. If a custom WebsocketAcceptor
was created to support compression, this custom implementation may be dropped, instead passing an instance of WebsocketCompressionContextFactory
to each Websocket
request handler.
Backward Compatibility Breaks
- The
WebsocketCompressionContextFactory
constructor parameter ofRfc6455ClientFactory
has been removed and is instead a constructor parameter of theWebsocket
class. - A nullable
WebsocketCompressionContext
parameter was added toWebsocketClientFactory::createClient()
.