[Modify] Edit it

This commit is contained in:
sta 2016-08-30 14:50:13 +09:00
parent e09a8c2f45
commit 66221e5d55

View File

@ -2510,24 +2510,20 @@ namespace WebSocketSharp
} }
/// <summary> /// <summary>
/// Closes the WebSocket connection asynchronously with the specified <see cref="ushort"/> and /// Closes the WebSocket connection asynchronously with the specified
/// <see cref="string"/>, and releases all associated resources. /// <paramref name="code"/> and <paramref name="reason"/>, and releases
/// all associated resources.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// <para> /// This method does not wait for the close to be complete.
/// This method doesn't wait for the close to be complete.
/// </para>
/// <para>
/// This method emits a <see cref="OnError"/> event if <paramref name="code"/> isn't in
/// the allowable range of the close status code or the size of <paramref name="reason"/> is
/// greater than 123 bytes.
/// </para>
/// </remarks> /// </remarks>
/// <param name="code"> /// <param name="code">
/// A <see cref="ushort"/> that represents the status code indicating the reason for the close. /// A <see cref="ushort"/> that represents the status code indicating
/// the reason for the close.
/// </param> /// </param>
/// <param name="reason"> /// <param name="reason">
/// A <see cref="string"/> that represents the reason for the close. /// A <see cref="string"/> that represents the reason for the close.
/// The size must be 123 bytes or less.
/// </param> /// </param>
public void CloseAsync (ushort code, string reason) public void CloseAsync (ushort code, string reason)
{ {