EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

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

 

 

표시:
© 2015 Microsoft