Class WebSocketClientExtensionHandler

  • All Implemented Interfaces:
    ChannelHandler
    Direct Known Subclasses:
    WebSocketClientCompressionHandler

    public class WebSocketClientExtensionHandler
    extends Object
    implements ChannelHandler
    This handler negotiates and initializes the WebSocket Extensions. This implementation negotiates the extension with the server in a defined order, ensures that the successfully negotiated extensions are consistent between them, and initializes the channel pipeline with the extension decoder and encoder. Find a basic implementation for compression extensions at io.netty5.handler.codec.http.websocketx.extensions.compression.WebSocketClientCompressionHandler.