WebBrowser CreateWebSocketMessage Method ( Byte , Boolean)C# API
Creates a WebSocketMessage object that can be sent to the server.

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

public WebSocketMessage CreateWebSocketMessage(
	byte[] data,
	bool isBinary = true


Type:  System Byte 
The binary data to use as the contents of the message.
isBinary (Optional)
Type: System Boolean
set to true if the message should be treated as binary data.

Return Value

The new WebSocketMessage object.
See Also