[Modify] Edit it

This commit is contained in:
sta 2016-08-26 16:46:42 +09:00
parent 63e0b2ca8c
commit 1bcffbb1bd

View File

@ -2378,19 +2378,16 @@ namespace WebSocketSharp
} }
/// <summary> /// <summary>
/// Closes the WebSocket connection with the specified <see cref="CloseStatusCode"/> and /// Closes the WebSocket connection with the specified <paramref name="code"/> and
/// <see cref="string"/>, and releases all associated resources. /// <paramref name="reason"/>, and releases all associated resources.
/// </summary> /// </summary>
/// <remarks>
/// This method emits a <see cref="OnError"/> event if the size of <paramref name="reason"/> is
/// greater than 123 bytes.
/// </remarks>
/// <param name="code"> /// <param name="code">
/// One of the <see cref="CloseStatusCode"/> enum values, represents the status code indicating /// One of the <see cref="CloseStatusCode"/> enum values that represents
/// the reason for the close. /// 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 Close (CloseStatusCode code, string reason) public void Close (CloseStatusCode code, string reason)
{ {