WebSocketServiceManagerBroadcastAsync Method (String, Action) |
Note: This API is now obsolete.
Namespace: Sfs2X.WebSocketSharp.Server
[ObsoleteAttribute("This method will be removed.")] public void BroadcastAsync( string data, Action completed )
An Action delegate or if not needed.
The delegate invokes the method called when the send is complete.
Exception | Condition |
---|---|
InvalidOperationException | The current state of the manager is not Start. |
ArgumentNullException | data is . |
ArgumentException | data could not be UTF-8-encoded. |