[Modify] Edit it

This commit is contained in:
sta 2017-06-01 16:17:24 +09:00
parent b14fc7483f
commit 29c3156a97

View File

@ -1026,19 +1026,31 @@ namespace WebSocketSharp.Server
} }
/// <summary> /// <summary>
/// Stops receiving the incoming requests, and closes the connections with /// Stops receiving incoming requests and closes each connection.
/// the specified <paramref name="code"/> and <paramref name="reason"/> for
/// the WebSocket connection close.
/// </summary> /// </summary>
/// <remarks>
/// This method does nothing if the server is not started,
/// it is shutting down, or it has already stopped.
/// </remarks>
/// <param name="code"> /// <param name="code">
/// A <see cref="ushort"/> that represents the status code indicating /// <para>
/// the reason for the WebSocket connection close. The status codes are /// A <see cref="ushort"/> that represents the status code
/// defined in <see href="http://tools.ietf.org/html/rfc6455#section-7.4"> /// indicating the reason for the WebSocket connection close.
/// Section 7.4</see> of RFC 6455. /// </para>
/// <para>
/// The status codes are defined in
/// <see href="http://tools.ietf.org/html/rfc6455#section-7.4">
/// Section 7.4</see> of RFC 6455.
/// </para>
/// </param> /// </param>
/// <param name="reason"> /// <param name="reason">
/// A <see cref="string"/> that represents the reason for the WebSocket /// <para>
/// connection close. The size must be 123 bytes or less. /// A <see cref="string"/> that represents the reason for
/// the WebSocket connection close.
/// </para>
/// <para>
/// The size must be 123 bytes or less in UTF-8.
/// </para>
/// </param> /// </param>
/// <exception cref="ArgumentOutOfRangeException"> /// <exception cref="ArgumentOutOfRangeException">
/// <para> /// <para>