Interface WebsocketClientHandler


public interface WebsocketClientHandler
A Websocket client reader
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onConnectionClosed(int code, String reason)
    Called when if the endpoint closes the connection.
    void
    onEndpointMessage(byte[] message)
    The endpoint sent a bytes[] message.
    void
    The endpoint sent a String message.
  • Method Details

    • onConnectionClosed

      void onConnectionClosed(int code, String reason)
      Called when if the endpoint closes the connection.
    • onEndpointMessage

      void onEndpointMessage(String message)
      The endpoint sent a String message.
    • onEndpointMessage

      void onEndpointMessage(byte[] message)
      The endpoint sent a bytes[] message.