C-DEngine 5.105

WebSocketServiceManager..::..BroadcastAsync Method (String, Action)

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

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

Syntax


public void BroadcastAsync(
	string data,
	Action completed
)
Public Sub BroadcastAsync ( _
	data As String, _
	completed As Action _
)
public:
void BroadcastAsync(
	String^ data, 
	Action^ completed
)

Parameters

data
Type: String
A String that represents the text 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.