WebSocketSessionManagerSendTo Method (Byte, String) |
Namespace: Sfs2X.WebSocketSharp.Server
public void SendTo( byte[] data, string id )
| Exception | Condition |
|---|---|
| ArgumentNullException | id is . -or- data is . |
| ArgumentException | id is an empty string. |
| InvalidOperationException | The session could not be found. -or- The current state of the WebSocket connection is not Open. |