WebSocketPing Method (String) |
Namespace: Sfs2X.WebSocketSharp
public bool Ping( string message )
A String that represents the message to send.
The size must be 125 bytes or less in UTF-8.
| Exception | Condition |
|---|---|
| ArgumentException | message could not be UTF-8-encoded. |
| ArgumentOutOfRangeException | The size of message is greater than 125 bytes. |