[Modify] Edit it

This commit is contained in:
sta 2016-09-02 15:43:43 +09:00
parent 97c6889696
commit b348433c9a

View File

@ -843,14 +843,19 @@ namespace WebSocketSharp.Server
}
/// <summary>
/// Stops receiving the WebSocket connection requests with
/// the specified <see cref="ushort"/> and <see cref="string"/>.
/// Stops receiving the WebSocket handshake requests, and closes
/// the WebSocket connections with the specified <paramref name="code"/> and
/// <paramref name="reason"/>.
/// </summary>
/// <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 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 name="reason">
/// A <see cref="string"/> that represents the reason for the stop.
/// A <see cref="string"/> that represents the reason for the close.
/// The size must be 123 bytes or less.
/// </param>
public void Stop (ushort code, string reason)
{