Skip to main content

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.9 webSocketFrame.Binary

Returns binary payload.

Usage

WebSocketFrame.Binary

Returns


Text

Added in: v1.9 webSocketFrame.Text

Returns text payload.

Usage

WebSocketFrame.Text

Returns