WebSocketProtocolErrorHandler

public final class WebSocketProtocolErrorHandler : ChannelInboundHandler

A simple ChannelHandler that catches protocol errors emitted by the WebSocketFrameDecoder and automatically generates protocol error responses.

This ChannelHandler provides default error handling for basic errors in the WebSocket protocol, and can be used by users when custom behaviour is not required.