Interface WebSocketListener

    • Method Detail

      • onWebSocketBinary

        void onWebSocketBinary​(byte[] payload,
                               int offset,
                               int len)
        A WebSocket binary frame has been received.
        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)
        A WebSocket Text frame was received.
        message - the message