Class WebSocketClientHandshakeCompletionEvent

    • Constructor Detail

      • WebSocketClientHandshakeCompletionEvent

        public WebSocketClientHandshakeCompletionEvent​(WebSocketVersion version)
        Create a new event that indicate a successful websocket handshake.
        Parameters:
        version - the WebSocketVersion that was used.
      • WebSocketClientHandshakeCompletionEvent

        public WebSocketClientHandshakeCompletionEvent​(Throwable cause)
        Create a new event that indicate a failed websocket handshake.
        Parameters:
        cause - the cause of the failure.