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