send method

[This documentation is preliminary and is subject to change.]

Sends a generic fixed-length binary data buffer to the server.

Syntax

void retVal = object.send(data);

Parameters

Return value

This method does not return a value.

Remarks

This method can throw one of the following exceptions:

Exception Description
SyntaxError (12) The data contains unmatched 16-bit Unicode values (surrogate pairs).
InvalidStateError(11) The connection is not currently OPEN.

 

See also

WebSocket

FileReader.readAsArrayBuffer

readyState

 

 

Build date: 6/28/2012