[Modify] Edit it
This commit is contained in:
parent
1e311feb98
commit
cba0dd2238
@ -1063,17 +1063,22 @@ 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">
|
||||||
/// One of the <see cref="CloseStatusCode"/> enum values that represents
|
/// One of the <see cref="CloseStatusCode"/> enum values.
|
||||||
/// the status code indicating the reason for the close.
|
/// It represents the status code indicating the reason for
|
||||||
|
/// the close.
|
||||||
/// </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 size must be 123 bytes or less.
|
/// the close. The size must be 123 bytes or less in UTF-8.
|
||||||
/// </param>
|
/// </param>
|
||||||
public void Stop (CloseStatusCode code, string reason)
|
public void Stop (CloseStatusCode code, string reason)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user