[Modify] Edit it
This commit is contained in:
parent
65f51fa1ed
commit
eab8746d39
@ -2243,15 +2243,12 @@ namespace WebSocketSharp
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Closes the WebSocket connection with the specified <see cref="ushort"/>,
|
||||
/// Closes the WebSocket connection with the specified <paramref name="code"/>,
|
||||
/// and releases all associated resources.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This method emits a <see cref="OnError"/> event if <paramref name="code"/> isn't in
|
||||
/// the allowable range of the close status code.
|
||||
/// </remarks>
|
||||
/// <param name="code">
|
||||
/// A <see cref="ushort"/> that represents the status code indicating the reason for the close.
|
||||
/// A <see cref="ushort"/> that represents the status code indicating
|
||||
/// the reason for the close.
|
||||
/// </param>
|
||||
public void Close (ushort code)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user