C-DEngine 5.105

WebSocketServiceManager..::..BroadcastAsync Method (array<Byte>[]()[][], Action)

Sends binary data asynchronously to every client in the WebSocket services.

Namespace:  WebSocketSharp.Server
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public void BroadcastAsync(
	byte[] data,
	Action completed
)
Public Sub BroadcastAsync ( _
	data As Byte(), _
	completed As Action _
)
public:
void BroadcastAsync(
	array<unsigned char^>^ data, 
	Action^ completed
)

Parameters

data
Type: array<Byte>[]()[][]
An array of Byte that represents the binary data to send.
completed
Type: Action
An [Action] delegate that references the method(s) called when the send is complete.

Remarks


This method doesn't wait for the send to be complete.