Click or drag to resize

WebSocketServiceManagerBroadcastAsync Method (Byte, Action)

Note: This API is now obsolete.

Sends data asynchronously to every client in the WebSocket services.

Namespace:  Sfs2X.WebSocketSharp.Server
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
[ObsoleteAttribute("This method will be removed.")]
public void BroadcastAsync(
	byte[] data,
	Action completed
)

Parameters

data
Type: SystemByte
An array of Byte that represents the binary data to send.
completed
Type: SystemAction

An Action delegate or if not needed.

The delegate invokes the method called when the send is complete.

Exceptions
ExceptionCondition
InvalidOperationException The current state of the manager is not Start.
ArgumentNullExceptiondata is .
Remarks
This method does not wait for the send to be complete.
See Also