Interface WebSocketFrame


  • public interface WebSocketFrame
    The WebSocketFrame class represents frames sent over WebSocket connections in the page. Frame payload is returned by either WebSocketFrame.text() or WebSocketFrame.binary() method depending on the its type.
    • Method Detail

      • binary

        byte[] binary()
        Returns binary payload.
        Since:
        v1.9
      • text

        String text()
        Returns text payload.
        Since:
        v1.9