[Modify] Edit it

This commit is contained in:
sta 2017-01-18 16:43:39 +09:00
parent abcce988a3
commit 7a9c92a9a8

View File

@ -1033,10 +1033,14 @@ namespace WebSocketSharp.Server
} }
/// <summary> /// <summary>
/// Stops receiving the WebSocket handshake requests, and closes /// Stops receiving the WebSocket handshake requests,
/// the WebSocket connections with the specified <paramref name="code"/> and /// and closes the WebSocket connections with the specified
/// <paramref name="reason"/>. /// <paramref name="code"/> and <paramref name="reason"/>.
/// </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 /// A <see cref="ushort"/> that represents the status code indicating
/// the reason for the close. The status codes are defined in /// the reason for the close. The status codes are defined in
@ -1045,7 +1049,7 @@ namespace WebSocketSharp.Server
/// </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. /// The size must be 123 bytes or less in UTF-8.
/// </param> /// </param>
public void Stop (ushort code, string reason) public void Stop (ushort code, string reason)
{ {