WebSocketProtocolErrorHandler

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

    WebSocketProtocolErrorHandler.swift:21
    final class WebSocketProtocolErrorHandler

    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.

    Citizens in NIOWebSocket

    Conformances

    Show implementation details (2)

    Hide implementation details

    Typealiases

    Type members

    Instance members

    Instance features