Creates a WebSocketMessage object that can be sent to the server.
Namespace: Facilita.WebAssembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.7.98 (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