WebSocketSessionManagerPingTo Method (String, String) |
Namespace: Sfs2X.WebSocketSharp.Server
public bool PingTo( string message, string id )
A String that represents the message to send.
The size must be 125 bytes or less in UTF-8.
Exception | Condition |
---|---|
ArgumentNullException | id is . |
ArgumentException | id is an empty string. -or- message could not be UTF-8-encoded. |
InvalidOperationException | The session could not be found. |
ArgumentOutOfRangeException | The size of message is greater than 125 bytes. |