[Modify] Edit it
This commit is contained in:
parent
4ce77fb5c5
commit
ee84df541e
@ -1115,17 +1115,29 @@ namespace WebSocketSharp.Server
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Stops receiving the incoming requests, and closes the connections with
|
/// Stops receiving incoming requests and closes each connection.
|
||||||
/// the specified <paramref name="code"/> and <paramref name="reason"/> for
|
|
||||||
/// the WebSocket connection close.
|
|
||||||
/// </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">
|
||||||
/// One of the <see cref="CloseStatusCode"/> enum values that represents
|
/// <para>
|
||||||
/// the status code indicating the reason for the WebSocket connection close.
|
/// One of the <see cref="CloseStatusCode"/> enum values.
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// It represents the status code indicating the reason for
|
||||||
|
/// the WebSocket connection close.
|
||||||
|
/// </para>
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="reason">
|
/// <param name="reason">
|
||||||
/// A <see cref="string"/> that represents the reason for the WebSocket
|
/// <para>
|
||||||
/// connection close. The size must be 123 bytes or less.
|
/// A <see cref="string"/> that represents the reason for
|
||||||
|
/// the WebSocket connection close.
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// The size must be 123 bytes or less in UTF-8.
|
||||||
|
/// </para>
|
||||||
/// </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.
|
||||||
|
Loading…
Reference in New Issue
Block a user