WebSocket SendMessage Method ( Byte , Boolean)C# API
Send a message to the server.

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.4.0.26 (1.0.0.0)
Syntax

public void SendMessage(
	byte[] data,
	bool isBinary = true
)

Parameters

data
Type:  System Byte 
The data to send to the server
isBinary (Optional)
Type: System Boolean
If set to true, then the message will be flagged as binary data. Otherwise, it will be flagged as text.
Remarks

The WebSocket must be opened, by calling the Open  method, before any messages can be sent to the server.
See Also