JavaScript

webSocketSendMessageFail

Arguments

eobject

An object passed to the event that contains the following properties:

messageJSON

A JSON object containing the message from the server.

Description

Fires if an attempt was made to send a message to the web socket server, but the message was not sent.

To see the information available in the e.message object, use JSON.stringify. For example:

alert(JSON.stringify(e.message));