search

goog.net.WebSocket.EventType

Provided By
Typestring

The events fired by the web socket.

Values

CLOSED

Fired when an attempt to open the WebSocket fails or there is a connection failure after a successful connection has been established.

ERROR

Fired when the WebSocket encounters an error.

MESSAGE

Fired when a new message arrives from the WebSocket.

OPENED

Fired when the WebSocket connection has been established.