[Modify] Edit it

This commit is contained in:
sta 2017-01-19 16:15:37 +09:00
parent 1e311feb98
commit cba0dd2238

View File

@ -1063,17 +1063,22 @@ namespace WebSocketSharp.Server
}
/// <summary>
/// Stops receiving the WebSocket handshake requests, and closes
/// the WebSocket connections with the specified <paramref name="code"/> and
/// <paramref name="reason"/>.
/// Stops receiving the WebSocket handshake requests,
/// and closes the WebSocket connections with the specified
/// <paramref name="code"/> and <paramref name="reason"/>.
/// </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">
/// One of the <see cref="CloseStatusCode"/> enum values that represents
/// the status code indicating the reason for the close.
/// One of the <see cref="CloseStatusCode"/> enum values.
/// It represents the status code indicating the reason for
/// the close.
/// </param>
/// <param name="reason">
/// A <see cref="string"/> that represents the reason for the close.
/// The size must be 123 bytes or less.
/// A <see cref="string"/> that represents the reason for
/// the close. The size must be 123 bytes or less in UTF-8.
/// </param>
public void Stop (CloseStatusCode code, string reason)
{