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.
Methods
binary
Added in: v1.9Returns binary payload.
Usage
WebSocketFrame.binary();
Returns
text
Added in: v1.9Returns text payload.
Usage
WebSocketFrame.text();
Returns