goog.net.WebSocket.EventType
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. |