[Modify] Edit it

This commit is contained in:
sta 2016-11-18 16:50:39 +09:00
parent c13dbeb051
commit 1b52a2129d

View File

@ -2715,11 +2715,20 @@ namespace WebSocketSharp
} }
/// <summary> /// <summary>
/// Sends text <paramref name="data"/> using the WebSocket connection. /// Sends the specified <paramref name="data"/> using the WebSocket connection.
/// </summary> /// </summary>
/// <param name="data"> /// <param name="data">
/// A <see cref="string"/> that represents the text data to send. /// A <see cref="string"/> that represents the text data to send.
/// </param> /// </param>
/// <exception cref="InvalidOperationException">
/// The current state of the connection is not Open.
/// </exception>
/// <exception cref="ArgumentNullException">
/// <paramref name="data"/> is <see langword="null"/>.
/// </exception>
/// <exception cref="ArgumentException">
/// <paramref name="data"/> cannot be UTF8 encoded.
/// </exception>
public void Send (string data) public void Send (string data)
{ {
if (_readyState != WebSocketState.Open) { if (_readyState != WebSocketState.Open) {