EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

onerror event

Fires when an error occurs with a WebSocket connection.

Syntax

Event Property object.onerror = handler;
addEventListener Method object.addEventListener("error", handler, useCapture)

Event handler parameters

handler [in]

Type: Function

Event handler to call when an error occurs.

See also

WebSocket
WebSockets in Windows
WebSockets RFC 6455
The WebSocket API

 

 

Afficher:
© 2014 Microsoft