Interface WebSocketConnectionCallback


  • public interface WebSocketConnectionCallback
    Interface that is used on the client side to accept web socket connections
    Author:
    Stuart Douglas
    • Method Detail

      • onConnect

        void onConnect​(WebSocketHttpExchange exchange,
                       WebSocketChannel channel)
        Is called once the WebSocket connection is established, which means the handshake was successful.