WebSocketSend Method 847
Applies To: HTMLRenderer

Description

This method is used to send data to a WebSocket. The argument to WebSocketSend is a 2 or 3-element vector as follows:

[1] ID Character vector containing the ID of the WebSocket
[2] Data Character or integer vector. Integers must be in the range 0-255.
[3] FIN Boolean. 1 indicates that this is the last chunk; 0 that there is more to come. This is not currently supported by the CEF and should be omitted.

The result is 0.

Example

      hr.WebSocketSend  '5d61d8330065608'  'Hello World'
0