[Modify] Edit it

This commit is contained in:
sta 2016-12-09 16:31:56 +09:00
parent 8b6e2ecd61
commit 9908e5261b

View File

@ -2688,15 +2688,25 @@ namespace WebSocketSharp
} }
/// <summary> /// <summary>
/// Sends a ping with the specified <paramref name="message"/> using the WebSocket connection. /// Sends a ping with the specified <paramref name="message"/> using
/// the WebSocket connection.
/// </summary> /// </summary>
/// <returns> /// <returns>
/// <c>true</c> if the <see cref="WebSocket"/> receives a pong to this ping in a time; /// <c>true</c> if the ping has been sent and then a pong has been
/// otherwise, <c>false</c>. /// received within a time; otherwise, <c>false</c>.
/// </returns> /// </returns>
/// <param name="message"> /// <param name="message">
/// A <see cref="string"/> that represents the message to send. /// A <see cref="string"/> that represents the message to send.
/// </param> /// </param>
/// <exception cref="ArgumentNullException">
/// <paramref name="message"/> is <see langword="null"/>.
/// </exception>
/// <exception cref="ArgumentException">
/// <paramref name="message"/> could not be UTF8 encoded.
/// </exception>
/// <exception cref="ArgumentOutOfRangeException">
/// The size of <paramref name="message"/> is greater than 125 bytes.
/// </exception>
public bool Ping (string message) public bool Ping (string message)
{ {
if (message == null) if (message == null)