WebSocketSessionManagerBroadcastAsync Method (String, Action) |
Namespace: Sfs2X.WebSocketSharp.Server
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. |