Interface WebSocketConnectionCallback


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

    Modifier and Type
    Method
    Description
    void
    Is called once the WebSocket connection is established, which means the handshake was successful.
  • Method Details

    • onConnect

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