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: 9.4.0.26 (1.0.0.0)
Syntax

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

Parameters

data
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