Export (0) Print
Expand All

Events

This section describes the events of the WebSocket object.

In this section

TopicDescription

onclose

Fires when a WebSocket connection is closed.

onerror

Fires when an error occurs with a WebSocket connection.

onmessage

Fires a MessageEvent when data is received through a WebSocket connection.

onopen

Fires when a WebSocket is connected.

 

 

 

Show:
© 2014 Microsoft