|
|
|
@ -1431,22 +1431,25 @@ namespace WebSocketSharp.Server
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Stops receiving the WebSocket handshake requests,
|
|
|
|
/// Stops receiving incoming handshake requests and closes each
|
|
|
|
/// and closes the WebSocket connections with the specified
|
|
|
|
/// connection with the specified <paramref name="code"/> and
|
|
|
|
/// <paramref name="code"/> and <paramref name="reason"/>.
|
|
|
|
/// <paramref name="reason"/>.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <remarks>
|
|
|
|
/// <remarks>
|
|
|
|
/// This method does nothing if the server is not started,
|
|
|
|
/// This method does nothing if the server is not started,
|
|
|
|
/// it is shutting down, or it has already stopped.
|
|
|
|
/// it is shutting down, or it has already stopped.
|
|
|
|
/// </remarks>
|
|
|
|
/// </remarks>
|
|
|
|
/// <param name="code">
|
|
|
|
/// <param name="code">
|
|
|
|
|
|
|
|
/// <para>
|
|
|
|
/// One of the <see cref="CloseStatusCode"/> enum values.
|
|
|
|
/// One of the <see cref="CloseStatusCode"/> enum values.
|
|
|
|
/// It represents the status code indicating the reason for
|
|
|
|
/// </para>
|
|
|
|
/// the close.
|
|
|
|
/// <para>
|
|
|
|
|
|
|
|
/// It represents the status code indicating the reason for the close.
|
|
|
|
|
|
|
|
/// </para>
|
|
|
|
/// </param>
|
|
|
|
/// </param>
|
|
|
|
/// <param name="reason">
|
|
|
|
/// <param name="reason">
|
|
|
|
/// A <see cref="string"/> that represents the reason for
|
|
|
|
/// A <see cref="string"/> that represents the reason for the close.
|
|
|
|
/// the close. The size must be 123 bytes or less in UTF-8.
|
|
|
|
/// The size must be 123 bytes or less in UTF-8.
|
|
|
|
/// </param>
|
|
|
|
/// </param>
|
|
|
|
/// <exception cref="ArgumentOutOfRangeException">
|
|
|
|
/// <exception cref="ArgumentOutOfRangeException">
|
|
|
|
/// The size of <paramref name="reason"/> is greater than 123 bytes.
|
|
|
|
/// The size of <paramref name="reason"/> is greater than 123 bytes.
|
|
|
|
@ -1460,7 +1463,8 @@ namespace WebSocketSharp.Server
|
|
|
|
/// -or-
|
|
|
|
/// -or-
|
|
|
|
/// </para>
|
|
|
|
/// </para>
|
|
|
|
/// <para>
|
|
|
|
/// <para>
|
|
|
|
/// <paramref name="code"/> is <see cref="CloseStatusCode.NoStatus"/> and
|
|
|
|
/// <paramref name="code"/> is
|
|
|
|
|
|
|
|
/// <see cref="CloseStatusCode.NoStatus"/> and
|
|
|
|
/// there is <paramref name="reason"/>.
|
|
|
|
/// there is <paramref name="reason"/>.
|
|
|
|
/// </para>
|
|
|
|
/// </para>
|
|
|
|
/// <para>
|
|
|
|
/// <para>
|
|
|
|
|