[Modify] Edit it
This commit is contained in:
parent
97742b0667
commit
80db30d1c5
@ -2306,19 +2306,16 @@ namespace WebSocketSharp
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Closes the WebSocket connection with the specified <see cref="ushort"/> and
|
||||
/// <see cref="string"/>, and releases all associated resources.
|
||||
/// Closes the WebSocket connection with the specified <paramref name="code"/> and
|
||||
/// <paramref name="reason"/>, 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 or the size of <paramref name="reason"/> is
|
||||
/// greater than 123 bytes.
|
||||
/// </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>
|
||||
/// <param name="reason">
|
||||
/// A <see cref="string"/> that represents the reason for the close.
|
||||
/// The size must be 123 bytes or less.
|
||||
/// </param>
|
||||
public void Close (ushort code, string reason)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user