Interface WebSocketListener

    • Method Detail

      • onWebSocketBinary

        void onWebSocketBinary​(byte[] payload,
                               int offset,
                               int len)
        Deprecated.
        A WebSocket binary frame has been received.
        Parameters:
        payload - the raw payload array received
        offset - the offset in the payload array where the data starts
        len - the length of bytes in the payload
      • onWebSocketText

        void onWebSocketText​(java.lang.String message)
        Deprecated.
        A WebSocket Text frame was received.
        Parameters:
        message - the message