[Modify] Edit it

This commit is contained in:
sta 2016-09-06 15:57:10 +09:00
parent 0249f5518e
commit 46ef552ced

View File

@ -977,14 +977,19 @@ namespace WebSocketSharp.Server
} }
/// <summary> /// <summary>
/// Stops receiving the HTTP requests with the specified <see cref="ushort"/> and /// Stops receiving the incoming requests, and closes the connections with
/// <see cref="string"/> used to stop the WebSocket services. /// the specified <paramref name="code"/> and <paramref name="reason"/> for
/// the WebSocket connection close.
/// </summary> /// </summary>
/// <param name="code"> /// <param name="code">
/// A <see cref="ushort"/> that represents the status code indicating the reason for the stop. /// A <see cref="ushort"/> that represents the status code indicating
/// the reason for the WebSocket connection close. The status codes are
/// defined in <see href="http://tools.ietf.org/html/rfc6455#section-7.4">
/// Section 7.4</see> of RFC 6455.
/// </param> /// </param>
/// <param name="reason"> /// <param name="reason">
/// A <see cref="string"/> that represents the reason for the stop. /// A <see cref="string"/> that represents the reason for the WebSocket
/// connection close. The size must be 123 bytes or less.
/// </param> /// </param>
public void Stop (ushort code, string reason) public void Stop (ushort code, string reason)
{ {