Inherited Attributes
Attributes inherited from: Object
hash, string
Methods
binaryFrameshared WebSocketFrame binaryFrame(Buffer data, Boolean isFinal)

Create a binary WebSocket frame.

Parameters:
  • data

    the data for the frame

  • isFinal

    true if it's the final frame in the WebSocket message

continuationFrameshared WebSocketFrame continuationFrame(Buffer data, Boolean isFinal)

Create a continuation frame

Parameters:
  • data

    the data for the frame

  • isFinal

    true if it's the final frame in the WebSocket message

textFrameshared WebSocketFrame textFrame(String str, Boolean isFinal)

Create a text WebSocket frame.

Parameters:
  • str

    the string for the frame

  • isFinal

    true if it's the final frame in the WebSocket message

Inherited Methods
Methods inherited from: Object
equals