WebSocketSessionManagerSendTo Method (Stream, Int32, String) |
Namespace: Sfs2X.WebSocketSharp.Server
public void SendTo( Stream stream, int length, string id )
Exception | Condition |
---|---|
ArgumentNullException | id is . -or- stream is . |
ArgumentException | id is an empty string. -or- stream cannot be read. -or- length is less than 1. -or- No data could be read from stream. |
InvalidOperationException | The session could not be found. -or- The current state of the WebSocket connection is not Open. |