A WebSocket frame that represents either text or binary data.
A WebSocket message is composed of one or more WebSocket frames.
If there is a just a single frame in the message then a single text or binary frame should be created with final = true.
If there are more than one frames in the message, then the first frame should be a text or binary frame with final = false, followed by one or more continuation frames. The last continuation frame should have final = true.
Anything
Object
WebSocketFrame
Basic
Identifiable
Object
Anything
no subtypes hierarchy
Initializer |
WebSocketFrame(WebSocketFrame unknown) |
Inherited Attributes |
Attributes inherited from: Object hash , string |
Methods | |
binaryData | shared default Buffer binaryData() |
isBinary | shared default Boolean isBinary() |
isContinuation | shared default Boolean isContinuation() |
isFinal | shared default Boolean isFinal() |
isText | shared default Boolean isText() |
textData | shared default String textData() |
Inherited Methods |
Methods inherited from: Object equals |