A Web Socket frame that represents either text or binary data.

no subtypes hierarchy

Initializer
WebSocketFrame(WebSocketFrame delegate)
Attributes
binaryshared Boolean binary

Returns true if and only if the content of this frame is an arbitrary binary data.

finalFrameshared Boolean finalFrame

Returns true if this is the final frame. This should be true unless a number of continuation frames are expected to follow this frame.

stringshared actual String string

Returns the string representation of this frame. Please note that this method is not identical to textData.

Refines Object.string (string)
textshared Boolean text

Returns true if and only if the content of this frame is a string encoded in UTF-8.

textDatashared String textData

Converts the content of this frame into a UTF-8 string and returns the converted string.

typeshared FrameType type
Inherited Attributes
Attributes inherited from: Object
hash
Inherited Methods
Methods inherited from: Object
equals