Skip to main content

WebSocket

The WebSocket class represents websocket connections in the page.

event WebSocket.Close

Added in: v1.8

Fired when the websocket closes.

event WebSocket.FrameReceived

Added in: v1.9

Fired when the websocket receives a frame.

event WebSocket.FrameSent

Added in: v1.9

Fired when the websocket sends a frame.

event WebSocket.SocketError

Added in: v1.9

Fired when the websocket has an error.

WebSocket.IsClosed

Added in: v1.8

Indicates that the web socket has been closed.

WebSocket.Url

Added in: v1.8

Contains the URL of the WebSocket.